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) 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007164/0.007164, allocations: 104.4 kB / 15.73 MB, free: 6.035 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.00159/0.00159, allocations: 192.5 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9869/0.9869, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 63.91 kB / 0.5851 GB, free: 3.906 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4659/0.4673, allocations: 80.91 MB / 0.6641 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00198/0.4693, allocations: 1.279 MB / 0.6654 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1623/0.6316, allocations: 147 MB / 0.8089 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.307e-05/0.6317, allocations: 0 / 0.8089 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.302e-05/0.6318, allocations: 0 / 0.8089 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.393e-05/0.6319, allocations: 15.92 kB / 0.8089 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.6324, allocations: 95.48 kB / 0.809 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.6325, allocations: 31.86 kB / 0.8091 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.6326, allocations: 7.938 kB / 0.8091 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.655e-05/0.6327, allocations: 19.97 kB / 0.8091 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.563e-05/0.6327, allocations: 11.94 kB / 0.8091 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.6328, allocations: 4 kB / 0.8091 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002765/0.633, allocations: 75.81 kB / 0.8092 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.6331, allocations: 12 kB / 0.8092 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.6331, allocations: 15.92 kB / 0.8092 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.6333, allocations: 70.12 kB / 0.8093 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6333, allocations: 0 / 0.8093 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6333, allocations: 0 / 0.8093 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.6333, allocations: 0 / 0.8093 GB, free: 12.46 MB / 0.6387 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.0004106/0.6337, allocations: 347.5 kB / 0.8096 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.6338, allocations: 12.03 kB / 0.8096 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.6338, allocations: 34.75 kB / 0.8097 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/0.634, allocations: 16.92 kB / 0.8097 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.6342, allocations: 168.1 kB / 0.8098 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.6342, allocations: 11.94 kB / 0.8098 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.6342, allocations: 7.906 kB / 0.8098 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.6343, allocations: 45.67 kB / 0.8099 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.6344, allocations: 4 kB / 0.8099 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.6344, allocations: 4 kB / 0.8099 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.6344, allocations: 0 / 0.8099 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.75e-05/0.6344, allocations: 11.98 kB / 0.8099 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.6346, allocations: 173.5 kB / 0.8101 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 8.397e-05/0.6347, allocations: 50.5 kB / 0.8101 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.193e-05/0.6347, allocations: 20.84 kB / 0.8101 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.6348, allocations: 0 / 0.8101 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.6348, allocations: 34.56 kB / 0.8102 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.021e-06/0.6348, allocations: 0 / 0.8102 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.0007292/0.6355, allocations: 370.3 kB / 0.8105 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.6356, allocations: 55.34 kB / 0.8106 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.502e-05/0.6357, allocations: 101.8 kB / 0.8107 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.6357, allocations: 25.7 kB / 0.8107 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/0.6357, allocations: 80.14 kB / 0.8108 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.6358, allocations: 39.45 kB / 0.8108 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.6358, allocations: 33.78 kB / 0.8109 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.6359, allocations: 322.8 kB / 0.8112 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.2e-05/0.636, allocations: 12 kB / 0.8112 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.784e-05/0.636, allocations: 40.58 kB / 0.8112 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.154e-05/0.6361, allocations: 66.22 kB / 0.8113 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.6361, allocations: 4 kB / 0.8113 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001279/0.6363, allocations: 89.53 kB / 0.8114 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.6363, allocations: 15.94 kB / 0.8114 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.6363, allocations: 0 / 0.8114 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.6363, allocations: 0 / 0.8114 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.6364, allocations: 31.91 kB / 0.8114 GB, free: 9.996 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.6364, allocations: 0 / 0.8114 GB, free: 9.996 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.302e-05/0.6365, allocations: 4 kB / 0.8114 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.6365, allocations: 7.938 kB / 0.8114 GB, free: 9.984 MB / 0.6387 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 7.918e-05/0.6366, allocations: 113.8 kB / 0.8115 GB, free: 9.863 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.6366, allocations: 4 kB / 0.8115 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.6366, allocations: 11.97 kB / 0.8115 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.6367, allocations: 3.984 kB / 0.8115 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.6367, allocations: 0 / 0.8115 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.6367, allocations: 0 / 0.8115 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.6368, allocations: 181.6 kB / 0.8117 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.6368, allocations: 0 / 0.8117 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.6369, allocations: 27.92 kB / 0.8117 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.6369, allocations: 0 / 0.8117 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.637, allocations: 0 / 0.8117 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.637, allocations: 0 / 0.8117 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.637, allocations: 0 / 0.8117 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.6372, allocations: 144.9 kB / 0.8119 GB, free: 9.434 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.617e-05/0.6372, allocations: 81.11 kB / 0.812 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.6373, allocations: 4.031 kB / 0.812 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.461e-05/0.6373, allocations: 8 kB / 0.812 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.6374, allocations: 0 / 0.812 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.6374, allocations: 4 kB / 0.812 GB, free: 9.32 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.064e-05/0.6374, allocations: 91.2 kB / 0.8121 GB, free: 9.23 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6374, allocations: 4 kB / 0.8121 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001991/0.6376, allocations: 12 kB / 0.8121 GB, free: 9.215 MB / 0.6387 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.0004389/0.6381, allocations: 0.6723 MB / 0.8127 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.6382, allocations: 55.95 kB / 0.8128 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6382, allocations: 4.094 kB / 0.8128 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 3.832e-05/0.6383, allocations: 27.94 kB / 0.8128 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.6385, allocations: 11.98 kB / 0.8128 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.6399, allocations: 1.446 MB / 0.8142 GB, free: 6.883 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.6402, allocations: 0.6846 MB / 0.8149 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.912e-05/0.6403, allocations: 16.59 kB / 0.8149 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.6403, allocations: 19.42 kB / 0.8149 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of SimCode: time 2.01e-07/0.6403, allocations: 0 / 0.8149 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.6608, allocations: 1.701 MB / 0.8166 GB, free: 4.535 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.254/7.915, allocations: 13.22 kB / 0.8166 GB, free: 4.527 MB / 0.6387 GB (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)