Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008062/0.0008062, allocations: 105.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008888/0.0008888, allocations: 219.1 kB / 22.26 MB, free: 3.699 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.961/0.961, allocations: 230.6 MB / 256 MB, free: 9.828 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8067/0.8067, allocations: 203.8 MB / 0.5042 GB, free: 10.79 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009373/0.0009373, allocations: 71.98 kB / 0.7182 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5414/0.5423, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1716/0.7139, allocations: 174.1 MB / 0.9879 GB, free: 7.363 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004654/0.7186, allocations: 6.107 MB / 0.9938 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002865/0.7189, allocations: 11.94 kB / 0.9939 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.00058/0.7194, allocations: 194.7 kB / 0.994 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.7197, allocations: 83.44 kB / 0.9941 GB, free: 0.9492 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.7208, allocations: 0.5527 MB / 0.9947 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0008417/0.7216, allocations: 422.7 kB / 0.9951 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002415/0.7219, allocations: 93.33 kB / 0.9951 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002751/0.7222, allocations: 199.2 kB / 0.9953 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.7223, allocations: 151.4 kB / 0.9955 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.7224, allocations: 16 kB / 0.9955 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007219/0.7231, allocations: 0.5143 MB / 0.996 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.185e-05/0.7232, allocations: 71.75 kB / 0.9961 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.264e-05/0.7232, allocations: 103.5 kB / 0.9962 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005127/0.7238, allocations: 476.6 kB / 0.9966 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.7238, allocations: 0 / 0.9966 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.708e-06/0.7238, allocations: 7.922 kB / 0.9966 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.7238, allocations: 0 / 0.9966 GB, free: 14.36 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005017/0.7243, allocations: 461.3 kB / 0.9971 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.7243, allocations: 12.03 kB / 0.9971 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.924e-05/0.7244, allocations: 58.55 kB / 0.9971 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002681/0.7247, allocations: 43.8 kB / 0.9972 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/0.725, allocations: 207.4 kB / 0.9974 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.7252, allocations: 242.1 kB / 0.9976 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.7252, allocations: 16 kB / 0.9976 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.7256, allocations: 293.9 kB / 0.9979 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.7256, allocations: 3.938 kB / 0.9979 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.7256, allocations: 12 kB / 0.9979 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.7256, allocations: 8 kB / 0.9979 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.7259, allocations: 156.6 kB / 0.9981 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.7269, allocations: 1.548 MB / 0.9996 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.52e-05/0.727, allocations: 173.1 kB / 0.9998 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.037e-05/0.727, allocations: 80.14 kB / 0.9998 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.7271, allocations: 75.28 kB / 0.9999 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.7271, allocations: 121.8 kB / 1 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 2.114e-06/0.7271, allocations: 0 / 1 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 8.111e-05/0.7272, allocations: 45.59 kB / 1 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.7272, allocations: 126.7 kB / 1 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.7275, allocations: 313.7 kB / 1 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.7275, allocations: 25.7 kB / 1.001 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.7276, allocations: 191.7 kB / 1.001 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.402e-06/0.7276, allocations: 7.984 kB / 1.001 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-05/0.7277, allocations: 41.67 kB / 1.001 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.7278, allocations: 330.8 kB / 1.001 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.38e-05/0.7279, allocations: 39.97 kB / 1.001 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.728, allocations: 161.1 kB / 1.001 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.7281, allocations: 200.8 kB / 1.001 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.7281, allocations: 0 / 1.001 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002862/0.7284, allocations: 221.6 kB / 1.002 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.7285, allocations: 11.94 kB / 1.002 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.7285, allocations: 4 kB / 1.002 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.7285, allocations: 4 kB / 1.002 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/0.7289, allocations: 39.92 kB / 1.002 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.7289, allocations: 11.92 kB / 1.002 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.635e-05/0.729, allocations: 35.73 kB / 1.002 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.729, allocations: 8 kB / 1.002 GB, free: 8.672 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.7291, allocations: 221.1 kB / 1.002 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.191e-05/0.7292, allocations: 128.8 kB / 1.002 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.954e-05/0.7292, allocations: 125.7 kB / 1.002 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.503e-05/0.7293, allocations: 176.3 kB / 1.002 GB, free: 8 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-05/0.7293, allocations: 180.2 kB / 1.003 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.224e-05/0.7294, allocations: 188.3 kB / 1.003 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.7296, allocations: 464.2 kB / 1.003 GB, free: 7.121 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.84e-05/0.7296, allocations: 104.9 kB / 1.003 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.484e-05/0.7297, allocations: 105 kB / 1.003 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.964e-05/0.7297, allocations: 188.1 kB / 1.004 GB, free: 6.711 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.313e-05/0.7298, allocations: 176.3 kB / 1.004 GB, free: 6.531 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.12e-05/0.7298, allocations: 176.3 kB / 1.004 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-05/0.7298, allocations: 184.2 kB / 1.004 GB, free: 6.164 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.73, allocations: 327.6 kB / 1.004 GB, free: 5.82 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.73, allocations: 132.8 kB / 1.005 GB, free: 5.684 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.321e-05/0.7301, allocations: 180.3 kB / 1.005 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.863e-05/0.7302, allocations: 112.9 kB / 1.005 GB, free: 5.383 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.7302, allocations: 176.3 kB / 1.005 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.7302, allocations: 108.9 kB / 1.005 GB, free: 5.09 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000167/0.7304, allocations: 217.2 kB / 1.005 GB, free: 4.883 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.7304, allocations: 0 / 1.005 GB, free: 4.883 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002965/0.7307, allocations: 55.88 kB / 1.005 GB, free: 4.828 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004794/0.7312, allocations: 0.8515 MB / 1.006 GB, free: 3.945 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001954/0.7314, allocations: 75.78 kB / 1.006 GB, free: 3.871 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.7314, allocations: 0 / 1.006 GB, free: 3.871 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.7314, allocations: 0 / 1.006 GB, free: 3.871 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.7318, allocations: 0.4912 MB / 1.007 GB, free: 3.379 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.7342, allocations: 2.498 MB / 1.009 GB, free: 0.6875 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.7344, allocations: 0.7398 MB / 1.01 GB, free: 15.92 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001152/0.7346, allocations: 37.92 kB / 1.01 GB, free: 15.89 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.066e-05/0.7346, allocations: 51.42 kB / 1.01 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of SimCode: time 1.363e-06/0.7346, allocations: 0 / 1.01 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.7535, allocations: 4.244 MB / 1.014 GB, free: 11.72 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.57/7.324, allocations: 7.016 kB / 1.014 GB, free: 11.71 MB / 0.7917 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.303548551164567] Failed to read output from testmodel.py, exit status != 0: 7.404341446002945 7.4195911820000005 6.692870388 Calling exit ...