Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 110.8 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 225.6 MB / 249.3 MB, free: 3.199 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9911/0.9911, allocations: 175.7 MB / 480.1 MB, free: 2.863 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 63.94 kB / 0.6677 GB, free: 11.02 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.163, allocations: 94.53 MB / 0.76 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002085/0.165, allocations: 1.281 MB / 0.7613 GB, free: 15.61 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.4609/0.626, allocations: 147.5 MB / 0.9053 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.935e-05/0.626, allocations: 0 / 0.9053 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.626, allocations: 1.875 kB / 0.9053 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.19e-05/0.626, allocations: 9.172 kB / 0.9053 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.6264, allocations: 97.17 kB / 0.9054 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.346e-05/0.6265, allocations: 41.95 kB / 0.9054 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.126e-05/0.6265, allocations: 2.969 kB / 0.9054 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.709e-05/0.6266, allocations: 8.375 kB / 0.9054 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.808e-05/0.6266, allocations: 20.94 kB / 0.9055 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.6266, allocations: 2.188 kB / 0.9055 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002252/0.6269, allocations: 78.34 kB / 0.9055 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.6269, allocations: 12.05 kB / 0.9056 GB, free: 7.66 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.702e-05/0.6269, allocations: 13.62 kB / 0.9056 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.627, allocations: 69.7 kB / 0.9056 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.627, allocations: 0 / 0.9056 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of FrontEnd: time 8.61e-07/0.627, allocations: 0 / 0.9056 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.627, allocations: 0 / 0.9056 GB, free: 7.645 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003888/0.6274, allocations: 355.5 kB / 0.906 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.6275, allocations: 9.188 kB / 0.906 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.22e-05/0.6275, allocations: 37.16 kB / 0.906 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.6277, allocations: 9.391 kB / 0.906 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.6278, allocations: 176 kB / 0.9062 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.6278, allocations: 6.125 kB / 0.9062 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.6278, allocations: 10.3 kB / 0.9062 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.6279, allocations: 58.73 kB / 0.9063 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.6279, allocations: 1.25 kB / 0.9063 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.6279, allocations: 0 / 0.9063 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.628, allocations: 4.031 kB / 0.9063 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.016e-05/0.628, allocations: 17.14 kB / 0.9063 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.6282, allocations: 168.2 kB / 0.9064 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.117e-05/0.6283, allocations: 53.89 kB / 0.9065 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.613e-05/0.6283, allocations: 15.97 kB / 0.9065 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.6283, allocations: 0 / 0.9065 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.6283, allocations: 32.34 kB / 0.9065 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 7.82e-07/0.6283, allocations: 0 / 0.9065 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0006571/0.629, allocations: 375.1 kB / 0.9069 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.629, allocations: 54.66 kB / 0.907 GB, free: 6.387 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.647e-05/0.6291, allocations: 95.23 kB / 0.907 GB, free: 6.285 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.6291, allocations: 31.92 kB / 0.9071 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.177e-05/0.6291, allocations: 82.72 kB / 0.9072 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.6292, allocations: 38.53 kB / 0.9072 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.6292, allocations: 30.78 kB / 0.9072 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.6293, allocations: 325 kB / 0.9075 GB, free: 5.809 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.649e-05/0.6294, allocations: 24.08 kB / 0.9075 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.467e-05/0.6294, allocations: 36.67 kB / 0.9076 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.287e-05/0.6295, allocations: 60.23 kB / 0.9076 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.6295, allocations: 3.938 kB / 0.9076 GB, free: 5.766 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001184/0.6296, allocations: 93.84 kB / 0.9077 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.6296, allocations: 8.219 kB / 0.9077 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.6296, allocations: 0 / 0.9077 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.6296, allocations: 5.875 kB / 0.9077 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.6297, allocations: 26.86 kB / 0.9078 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.6298, allocations: 1.438 kB / 0.9078 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.07e-05/0.6298, allocations: 0.8438 kB / 0.9078 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.6298, allocations: 3.031 kB / 0.9078 GB, free: 5.723 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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 8.066e-05/0.6299, allocations: 121.4 kB / 0.9079 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.6299, allocations: 7.391 kB / 0.9079 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.6299, allocations: 10.78 kB / 0.9079 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.6299, allocations: 1.656 kB / 0.9079 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.6299, allocations: 5.031 kB / 0.9079 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.6299, allocations: 0 / 0.9079 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.6301, allocations: 174 kB / 0.9081 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6301, allocations: 1.688 kB / 0.9081 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.6302, allocations: 24.39 kB / 0.9081 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6302, allocations: 1.094 kB / 0.9081 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.6302, allocations: 5.031 kB / 0.9081 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.6302, allocations: 0 / 0.9081 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6302, allocations: 1.094 kB / 0.9081 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.6304, allocations: 136.7 kB / 0.9082 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.6305, allocations: 89 kB / 0.9083 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.6305, allocations: 1.281 kB / 0.9083 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.889e-05/0.6305, allocations: 6.125 kB / 0.9083 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.6306, allocations: 5.656 kB / 0.9083 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.6306, allocations: 4.422 kB / 0.9083 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.602e-05/0.6306, allocations: 76.56 kB / 0.9084 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6306, allocations: 0 / 0.9084 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001876/0.6308, allocations: 24.72 kB / 0.9084 GB, free: 5.137 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0004541/0.6312, allocations: 0.6686 MB / 0.9091 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.6314, allocations: 54.28 kB / 0.9091 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6314, allocations: 0 / 0.9091 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.411e-05/0.6314, allocations: 27.03 kB / 0.9092 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.6316, allocations: 18.33 kB / 0.9092 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.6329, allocations: 1.455 MB / 0.9106 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.6332, allocations: 0.6871 MB / 0.9113 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.728e-05/0.6332, allocations: 10.78 kB / 0.9113 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/0.6333, allocations: 16.22 kB / 0.9113 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.6333, allocations: 0 / 0.9113 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03164/0.6649, allocations: 1.654 MB / 0.9129 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.093/7.758, allocations: 7.188 kB / 0.9129 GB, free: 2.105 MB / 0.6544 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.18725055399409]