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.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/package.mo", uses=false) 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.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_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_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.008405/0.008405, allocations: 101.5 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.001344/0.001344, allocations: 188.6 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8052/0.8052, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.001551, allocations: 59.91 kB / 0.5808 GB, free: 8.059 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5121/0.5137, allocations: 80.2 MB / 0.6592 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002664/0.5164, allocations: 1.275 MB / 0.6604 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1739/0.6903, allocations: 147 MB / 0.804 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.6904, allocations: 0 / 0.804 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.921e-05/0.6905, allocations: 7.922 kB / 0.804 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.939e-05/0.6905, allocations: 15.86 kB / 0.804 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005877/0.6911, allocations: 87.56 kB / 0.8041 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.757e-05/0.6912, allocations: 27.92 kB / 0.8041 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 5.182e-05/0.6913, allocations: 11.98 kB / 0.8041 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 5.432e-05/0.6914, allocations: 12 kB / 0.8041 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 8.059e-05/0.6914, allocations: 19.91 kB / 0.8041 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.6915, allocations: 4 kB / 0.8041 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003248/0.6918, allocations: 75.81 kB / 0.8042 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.6918, allocations: 8 kB / 0.8042 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.6919, allocations: 15.94 kB / 0.8042 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.6921, allocations: 62.12 kB / 0.8043 GB, free: 1 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.6921, allocations: 0 / 0.8043 GB, free: 1 MB / 0.6231 GB Notification: Performance of FrontEnd: time 4.298e-06/0.6921, allocations: 0 / 0.8043 GB, free: 1 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.6921, allocations: 3.938 kB / 0.8043 GB, free: 0.9961 MB / 0.6231 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.0004848/0.6926, allocations: 355.5 kB / 0.8046 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.6927, allocations: 16.02 kB / 0.8046 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.6927, allocations: 34.75 kB / 0.8047 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002228/0.6929, allocations: 16.84 kB / 0.8047 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.6931, allocations: 172.1 kB / 0.8049 GB, free: 328 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.6931, allocations: 4 kB / 0.8049 GB, free: 324 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.6931, allocations: 8 kB / 0.8049 GB, free: 316 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.6933, allocations: 49.69 kB / 0.8049 GB, free: 260 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.6933, allocations: 0 / 0.8049 GB, free: 260 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.6933, allocations: 4 kB / 0.8049 GB, free: 256 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.6933, allocations: 0 / 0.8049 GB, free: 256 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.774e-05/0.6934, allocations: 15.92 kB / 0.8049 GB, free: 240 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.6936, allocations: 173.5 kB / 0.8051 GB, free: 16 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.6937, allocations: 50.56 kB / 0.8052 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.848e-05/0.6938, allocations: 12.86 kB / 0.8052 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.6938, allocations: 4 kB / 0.8052 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.6938, allocations: 34.56 kB / 0.8052 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.6938, allocations: 0 / 0.8052 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.0007852/0.6946, allocations: 378.7 kB / 0.8056 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.6947, allocations: 51.41 kB / 0.8056 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.094e-05/0.6948, allocations: 101.9 kB / 0.8057 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.6948, allocations: 25.7 kB / 0.8057 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.6948, allocations: 80.14 kB / 0.8058 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.6949, allocations: 43.39 kB / 0.8059 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.6949, allocations: 29.7 kB / 0.8059 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.695, allocations: 318.8 kB / 0.8062 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.726e-05/0.6951, allocations: 15.98 kB / 0.8062 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.243e-05/0.6951, allocations: 41.83 kB / 0.8062 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.287e-05/0.6952, allocations: 65.7 kB / 0.8063 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.6952, allocations: 0 / 0.8063 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001503/0.6954, allocations: 97.58 kB / 0.8064 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.6954, allocations: 6.188 kB / 0.8064 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.6954, allocations: 0 / 0.8064 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.6955, allocations: 0 / 0.8064 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.6956, allocations: 23.94 kB / 0.8064 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.6956, allocations: 0 / 0.8064 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.552e-05/0.6956, allocations: 7.984 kB / 0.8064 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.6957, allocations: 11.94 kB / 0.8064 GB, free: 14.51 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 8.678e-05/0.6958, allocations: 113.8 kB / 0.8066 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.6958, allocations: 7.984 kB / 0.8066 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.815e-05/0.6958, allocations: 7.969 kB / 0.8066 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.6958, allocations: 0 / 0.8066 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6958, allocations: 0 / 0.8066 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.6959, allocations: 4 kB / 0.8066 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.696, allocations: 177.5 kB / 0.8067 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.696, allocations: 0 / 0.8067 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.6961, allocations: 31.98 kB / 0.8068 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.6962, allocations: 0 / 0.8068 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.6962, allocations: 4 kB / 0.8068 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6962, allocations: 0 / 0.8068 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6962, allocations: 0 / 0.8068 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.6964, allocations: 140.4 kB / 0.8069 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.6965, allocations: 89.05 kB / 0.807 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.6965, allocations: 0 / 0.807 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.396e-05/0.6966, allocations: 15.94 kB / 0.807 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/0.6966, allocations: 7.984 kB / 0.807 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.6966, allocations: 0 / 0.807 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.789e-05/0.6967, allocations: 83.22 kB / 0.8071 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6967, allocations: 0 / 0.8071 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002388/0.6969, allocations: 16 kB / 0.8071 GB, free: 13.73 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.0004479/0.6974, allocations: 0.6711 MB / 0.8078 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001467/0.6976, allocations: 51.92 kB / 0.8078 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6976, allocations: 0 / 0.8078 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.072e-05/0.6976, allocations: 31.92 kB / 0.8078 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.6979, allocations: 9.734 kB / 0.8079 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.6993, allocations: 1.458 MB / 0.8093 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.6995, allocations: 0.6885 MB / 0.81 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.595e-05/0.6996, allocations: 12.66 kB / 0.81 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.6996, allocations: 15.44 kB / 0.81 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of SimCode: time 3.4e-07/0.6996, allocations: 0 / 0.81 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.7235, allocations: 1.695 MB / 0.8116 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.777/8.501, allocations: 2.297 kB / 0.8116 GB, free: 9.094 MB / 0.6387 GB (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 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)