Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.001333/0.001333, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 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.001566/0.001566, allocations: 219.6 kB / 23.03 MB, free: 4.922 MB / 14.72 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 1.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8519/0.8519, allocations: 134 MB / 447.2 MB, free: 9.922 MB / 350.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/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.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="cs",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.001883/0.001883, allocations: 60.38 kB / 0.6192 GB, free: 6.887 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1794, allocations: 85.92 MB / 0.7031 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002636/0.182, allocations: 1.286 MB / 0.7044 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.6081/0.7901, allocations: 129 MB / 0.8303 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.378e-05/0.7901, allocations: 0 / 0.8303 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.145e-05/0.7902, allocations: 3.938 kB / 0.8303 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.847e-05/0.7902, allocations: 10.64 kB / 0.8303 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.7907, allocations: 94.22 kB / 0.8304 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.128e-05/0.7907, allocations: 27.8 kB / 0.8305 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.7908, allocations: 2.344 kB / 0.8305 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.14e-05/0.7908, allocations: 24.25 kB / 0.8305 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.23e-05/0.7909, allocations: 12.8 kB / 0.8305 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.7909, allocations: 3.406 kB / 0.8305 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.7911, allocations: 80.45 kB / 0.8306 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.906e-05/0.7912, allocations: 10.16 kB / 0.8306 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.69e-05/0.7912, allocations: 21.91 kB / 0.8306 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.7914, allocations: 67.77 kB / 0.8307 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7914, allocations: 0 / 0.8307 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7914, allocations: 0 / 0.8307 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.7914, allocations: 0 / 0.8307 GB, free: 13.83 MB / 0.6075 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.0004228/0.7918, allocations: 277.4 kB / 0.8309 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.7918, allocations: 10.56 kB / 0.8309 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.699e-05/0.7919, allocations: 192 / 0.8309 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.676e-05/0.7919, allocations: 37.59 kB / 0.831 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.7921, allocations: 12.58 kB / 0.831 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.729e-05/0.7922, allocations: 110.3 kB / 0.8311 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.7922, allocations: 6.812 kB / 0.8311 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.7922, allocations: 6.891 kB / 0.8311 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.7924, allocations: 131.9 kB / 0.8312 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.7924, allocations: 3.938 kB / 0.8312 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.7924, allocations: 0 / 0.8312 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.7924, allocations: 2.312 kB / 0.8312 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.099e-05/0.7925, allocations: 16.23 kB / 0.8313 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.7926, allocations: 136.7 kB / 0.8314 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.304e-05/0.7927, allocations: 44.88 kB / 0.8314 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.798e-05/0.7927, allocations: 21.05 kB / 0.8314 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.7928, allocations: 4.172 kB / 0.8315 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.7928, allocations: 36.81 kB / 0.8315 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.7928, allocations: 0 / 0.8315 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0006932/0.7935, allocations: 297.6 kB / 0.8318 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.7935, allocations: 51.41 kB / 0.8318 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.095e-05/0.7936, allocations: 96.64 kB / 0.8319 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.7936, allocations: 25.7 kB / 0.8319 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.7937, allocations: 86.89 kB / 0.832 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.181e-05/0.7937, allocations: 50.09 kB / 0.8321 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.7938, allocations: 28.53 kB / 0.8321 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.7939, allocations: 318.8 kB / 0.8324 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.658e-05/0.794, allocations: 18.86 kB / 0.8324 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.081e-05/0.794, allocations: 37.3 kB / 0.8325 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.848e-05/0.7941, allocations: 60.5 kB / 0.8325 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.7941, allocations: 0 / 0.8325 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001337/0.7943, allocations: 95.16 kB / 0.8326 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.7943, allocations: 4.969 kB / 0.8326 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.7943, allocations: 0 / 0.8326 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.7943, allocations: 10.92 kB / 0.8326 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.7944, allocations: 16.31 kB / 0.8326 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.7944, allocations: 2.188 kB / 0.8326 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.382e-05/0.7944, allocations: 4 kB / 0.8326 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.7945, allocations: 9.375 kB / 0.8326 GB, free: 11.89 MB / 0.6075 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 0.0001052/0.7946, allocations: 116.7 kB / 0.8328 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.7946, allocations: 10.81 kB / 0.8328 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.579e-05/0.7946, allocations: 7.906 kB / 0.8328 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.7946, allocations: 2.188 kB / 0.8328 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.7946, allocations: 0 / 0.8328 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.7946, allocations: 7.984 kB / 0.8328 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.7948, allocations: 143.3 kB / 0.8329 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7948, allocations: 0 / 0.8329 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.7949, allocations: 26.17 kB / 0.8329 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.7949, allocations: 0 / 0.8329 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.7949, allocations: 3.094 kB / 0.833 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7949, allocations: 0 / 0.833 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7949, allocations: 3.938 kB / 0.833 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.7951, allocations: 137 kB / 0.8331 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.7952, allocations: 6.188 kB / 0.8331 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.7952, allocations: 2.812 kB / 0.8331 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.694e-05/0.7953, allocations: 11.12 kB / 0.8331 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/0.7953, allocations: 6.516 kB / 0.8331 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.7953, allocations: 2.656 kB / 0.8331 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.846e-05/0.7954, allocations: 83.16 kB / 0.8332 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.7954, allocations: 0 / 0.8332 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002059/0.7956, allocations: 17.41 kB / 0.8332 GB, free: 11.36 MB / 0.6075 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.0005287/0.7961, allocations: 0.6754 MB / 0.8339 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.7962, allocations: 45.95 kB / 0.8339 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7962, allocations: 4.094 kB / 0.8339 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.142e-05/0.7963, allocations: 32.27 kB / 0.8339 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.7965, allocations: 9.891 kB / 0.834 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.798, allocations: 1.443 MB / 0.8354 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.227e-05/0.7981, allocations: 68.66 kB / 0.8354 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.357e-05/0.7982, allocations: 13.72 kB / 0.8354 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.7982, allocations: 14.44 kB / 0.8355 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.7982, allocations: 0 / 0.8355 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.8218, allocations: 1.895 MB / 0.8373 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.95, allocations: 8.766 kB / 0.8373 GB, free: 8.227 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.6761264820816] Failed to read output from testmodel.py, exit status != 0: 12.11292740108911 12.144199637 11.347032869 Calling exit ...