Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirProperties.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.Examples.AirProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirProperties",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.00732/0.00732, allocations: 98.38 kB / 15.73 MB, free: 6.02 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.002048/0.002048, allocations: 190.9 kB / 16.67 MB, free: 5.938 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8161/0.8161, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 62.28 kB / 0.5809 GB, free: 24.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1433, allocations: 80.2 MB / 0.6592 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.4739/0.6173, allocations: 149.1 MB / 0.8048 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00322/0.6206, allocations: 3.617 MB / 0.8084 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.955e-05/0.6207, allocations: 1.188 kB / 0.8084 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000303/0.621, allocations: 67 kB / 0.8084 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002943/0.6213, allocations: 133.6 kB / 0.8085 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002165/0.6235, allocations: 1.008 MB / 0.8095 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003183/0.6239, allocations: 316.4 kB / 0.8098 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.875e-05/0.6239, allocations: 18.62 kB / 0.8099 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003364/0.6242, allocations: 200.4 kB / 0.81 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.6244, allocations: 128.6 kB / 0.8102 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.6245, allocations: 10.66 kB / 0.8102 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.6261, allocations: 1.218 MB / 0.8114 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.602e-05/0.6262, allocations: 65.44 kB / 0.8114 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.6263, allocations: 112.6 kB / 0.8115 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009018/0.6272, allocations: 0.6407 MB / 0.8122 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6272, allocations: 5.844 kB / 0.8122 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6273, allocations: 0 / 0.8122 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.6273, allocations: 0 / 0.8122 GB, free: 10.71 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001103/0.6284, allocations: 0.5973 MB / 0.8127 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.6284, allocations: 10.16 kB / 0.8128 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.925e-05/0.6285, allocations: 59.94 kB / 0.8128 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.6296, allocations: 137.8 kB / 0.8129 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.6299, allocations: 218.3 kB / 0.8132 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.63, allocations: 15.12 kB / 0.8132 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.63, allocations: 19.25 kB / 0.8132 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005034/0.6305, allocations: 341.9 kB / 0.8135 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.6305, allocations: 2.875 kB / 0.8135 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.6306, allocations: 5.688 kB / 0.8135 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.6306, allocations: 14.03 kB / 0.8135 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000492/0.6311, allocations: 322.5 kB / 0.8138 GB, free: 9.684 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.6327, allocations: 1.126 MB / 0.8149 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004799/0.6332, allocations: 190.5 kB / 0.8151 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.6333, allocations: 79.22 kB / 0.8152 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006037/0.6339, allocations: 463.6 kB / 0.8156 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.634, allocations: 33.09 kB / 0.8157 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=21): time 1.713e-06/0.634, allocations: 0 / 0.8157 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21): time 0.0006659/0.6346, allocations: 259.1 kB / 0.8159 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.6347, allocations: 57.53 kB / 0.816 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.6349, allocations: 214.8 kB / 0.8162 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.635, allocations: 32.2 kB / 0.8162 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.6351, allocations: 143.9 kB / 0.8163 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.614e-05/0.6351, allocations: 78.38 kB / 0.8164 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.585e-05/0.6352, allocations: 54.55 kB / 0.8165 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.6354, allocations: 328.3 kB / 0.8168 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.6355, allocations: 68.98 kB / 0.8169 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.6357, allocations: 162.1 kB / 0.817 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003101/0.636, allocations: 248.9 kB / 0.8172 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.636, allocations: 0 / 0.8172 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005174/0.6366, allocations: 285.8 kB / 0.8175 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.6366, allocations: 7.5 kB / 0.8175 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.6366, allocations: 2.406 kB / 0.8175 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.6366, allocations: 13.31 kB / 0.8175 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.6369, allocations: 56.45 kB / 0.8176 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.6369, allocations: 12.88 kB / 0.8176 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.6371, allocations: 31.02 kB / 0.8176 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.6372, allocations: 13.44 kB / 0.8176 GB, free: 6.918 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001291/0.6373, allocations: 142.2 kB / 0.8178 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.6374, allocations: 21.31 kB / 0.8178 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004436/0.6379, allocations: 284.5 kB / 0.8181 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.6379, allocations: 7.922 kB / 0.8181 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6379, allocations: 2.438 kB / 0.8181 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.6379, allocations: 0 / 0.8181 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007014/0.6386, allocations: 0.5803 MB / 0.8187 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.6387, allocations: 0 / 0.8187 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.6388, allocations: 33.23 kB / 0.8187 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.6388, allocations: 2.469 kB / 0.8187 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.6389, allocations: 14.11 kB / 0.8187 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.6389, allocations: 0 / 0.8187 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.6389, allocations: 5.781 kB / 0.8187 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000495/0.6394, allocations: 343.9 kB / 0.819 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.6395, allocations: 124.1 kB / 0.8192 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.6396, allocations: 10.09 kB / 0.8192 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.6398, allocations: 12.8 kB / 0.8192 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.6399, allocations: 13.39 kB / 0.8192 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.6399, allocations: 13.28 kB / 0.8192 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001289/0.64, allocations: 153.5 kB / 0.8193 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.64, allocations: 0 / 0.8193 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005409/0.6406, allocations: 119.6 kB / 0.8195 GB, free: 5.84 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001135/0.6417, allocations: 0.9957 MB / 0.8204 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003562/0.6421, allocations: 206.2 kB / 0.8206 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6421, allocations: 0 / 0.8206 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.6422, allocations: 103.2 kB / 0.8207 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000599/0.6429, allocations: 100.3 kB / 0.8208 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/0.6458, allocations: 2.503 MB / 0.8233 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.6462, allocations: 0.7386 MB / 0.824 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002317/0.6464, allocations: 55.72 kB / 0.824 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.6466, allocations: 62.06 kB / 0.8241 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.6466, allocations: 0 / 0.8241 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.6784, allocations: 7.707 MB / 0.8316 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/8.783, allocations: 16.62 kB / 0.8316 GB, free: 14.58 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Media.Examples.AirProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirProperties.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.AirProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Examples_AirProperties.fmu > IDEAS_IDEAS.Media.Examples.AirProperties.pipe 2>&1)