Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation") translateModel(Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005452/0.005452, allocations: 102.5 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 191.2 kB / 16.68 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4232/0.4232, allocations: 54.95 MB / 324.8 MB, free: 20 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 71.34 kB / 456.3 MB, free: 38.5 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1357, allocations: 59.59 MB / 0.5038 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation): time 0.5334/0.6691, allocations: 161.2 MB / 0.6612 GB, free: 256 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003718/0.6729, allocations: 2.383 MB / 0.6635 GB, free: 180 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002738/0.6733, allocations: 12.52 kB / 0.6635 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008256/0.6741, allocations: 251.6 kB / 0.6638 GB, free: 172 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.6751, allocations: 440.4 kB / 0.6642 GB, free: 144 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007828/0.6759, allocations: 333.9 kB / 0.6645 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001201/0.6771, allocations: 1.047 MB / 0.6655 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002629/0.6774, allocations: 144.5 kB / 0.6657 GB, free: 112 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.6785, allocations: 0.5816 MB / 0.6663 GB, free: 104 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004612/0.679, allocations: 368.7 kB / 0.6666 GB, free: 104 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.852e-05/0.6791, allocations: 49.88 kB / 0.6666 GB, free: 104 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.6793, allocations: 60.42 kB / 0.6667 GB, free: 104 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.6795, allocations: 210.4 kB / 0.6669 GB, free: 100 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002917/0.6798, allocations: 280.2 kB / 0.6672 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00063/0.6805, allocations: 0.7031 MB / 0.6679 GB, free: 68 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.6805, allocations: 3.938 kB / 0.6679 GB, free: 64 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6805, allocations: 6.125 kB / 0.6679 GB, free: 60 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.646e-05/0.6805, allocations: 0 / 0.6679 GB, free: 60 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001348/0.6819, allocations: 0.7225 MB / 0.6686 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.6819, allocations: 10.12 kB / 0.6686 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002945/0.6822, allocations: 57.17 kB / 0.6686 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004817/0.6827, allocations: 331.5 kB / 0.669 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.6827, allocations: 24.62 kB / 0.669 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.563e-05/0.6828, allocations: 41.78 kB / 0.669 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006128/0.6834, allocations: 412.7 kB / 0.6694 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.6834, allocations: 3.938 kB / 0.6694 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.067e-05/0.6835, allocations: 15.34 kB / 0.6694 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.6835, allocations: 9.438 kB / 0.6694 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000539/0.6841, allocations: 384.3 kB / 0.6698 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.6863, allocations: 1.568 MB / 0.6713 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.6867, allocations: 283.3 kB / 0.6716 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.6869, allocations: 155.3 kB / 0.6718 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.687, allocations: 8.938 kB / 0.6718 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.687, allocations: 45.11 kB / 0.6718 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 1.974e-06/0.687, allocations: 0 / 0.6718 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of matching and sorting (n=41): time 0.004235/0.6913, allocations: 1.841 MB / 0.6736 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.6913, allocations: 65.56 kB / 0.6737 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004115/0.6918, allocations: 320.1 kB / 0.674 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.862e-05/0.6918, allocations: 37.02 kB / 0.674 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.692, allocations: 202.9 kB / 0.6742 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.6921, allocations: 137.1 kB / 0.6743 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.6922, allocations: 77.08 kB / 0.6744 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.6924, allocations: 343.9 kB / 0.6747 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.6926, allocations: 172.9 kB / 0.6749 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.6929, allocations: 215 kB / 0.6751 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004997/0.6934, allocations: 389.5 kB / 0.6755 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.6934, allocations: 0 / 0.6755 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008439/0.6943, allocations: 0.549 MB / 0.676 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.6943, allocations: 7 kB / 0.676 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.6943, allocations: 3.094 kB / 0.676 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002752/0.6946, allocations: 100.5 kB / 0.6761 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006349/0.6952, allocations: 111.6 kB / 0.6762 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003716/0.699, allocations: 4.553 MB / 0.6807 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/0.6994, allocations: 9.125 kB / 0.6807 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.73e-05/0.6995, allocations: 21.56 kB / 0.6807 GB, free: 8.523 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003954/0.6999, allocations: 183.2 kB / 0.6809 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.7, allocations: 34.25 kB / 0.6809 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.7002, allocations: 53.77 kB / 0.681 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.7002, allocations: 6.141 kB / 0.681 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.7002, allocations: 0 / 0.681 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001016/0.7012, allocations: 0.66 MB / 0.6816 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.7035, allocations: 1.136 MB / 0.6827 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.779e-05/0.7035, allocations: 15.08 kB / 0.6827 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006997/0.7042, allocations: 114 kB / 0.6828 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002172/0.7045, allocations: 62.73 kB / 0.6829 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/0.7045, allocations: 7.906 kB / 0.6829 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/0.7061, allocations: 1.739 MB / 0.6846 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.7061, allocations: 0 / 0.6846 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.7072, allocations: 0.7797 MB / 0.6854 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003852/0.7076, allocations: 168.1 kB / 0.6855 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.7078, allocations: 12.84 kB / 0.6855 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004727/0.7082, allocations: 16.7 kB / 0.6856 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.797e-05/0.7083, allocations: 29.67 kB / 0.6856 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.224e-05/0.7084, allocations: 26.58 kB / 0.6856 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003038/0.7087, allocations: 229.1 kB / 0.6858 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.3e-07/0.7087, allocations: 0 / 0.6858 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007004/0.7094, allocations: 131.9 kB / 0.686 GB, free: 5.707 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002015/0.7096, allocations: 118.8 kB / 0.6861 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001233/0.7109, allocations: 0.7542 MB / 0.6868 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.7109, allocations: 0 / 0.6868 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005233/0.7114, allocations: 332.3 kB / 0.6871 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.7127, allocations: 254.8 kB / 0.6874 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.7152, allocations: 1.119 MB / 0.6885 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.7158, allocations: 0.8229 MB / 0.6893 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004521/0.7162, allocations: 98.97 kB / 0.6894 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.7164, allocations: 40.52 kB / 0.6894 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of SimCode: time 1.252e-06/0.7164, allocations: 6.75 kB / 0.6894 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of Templates: time 0.01817/0.7346, allocations: 9.78 MB / 0.699 GB, free: 1.215 MB / 0.5137 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe 2>&1)