Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.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.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb",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.006341/0.006341, allocations: 97.3 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.001593/0.001593, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7977/0.7977, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002849/0.002849, allocations: 68.28 kB / 0.5809 GB, free: 1.262 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1822, allocations: 80.2 MB / 0.6592 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.5505/0.7328, allocations: 161.5 MB / 0.8169 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.005038/0.7379, allocations: 3.491 MB / 0.8203 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004781/0.7384, allocations: 9.688 kB / 0.8203 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0004915/0.7389, allocations: 128.4 kB / 0.8204 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.7404, allocations: 450.6 kB / 0.8209 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.7424, allocations: 0.5986 MB / 0.8215 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001146/0.7436, allocations: 0.6214 MB / 0.8221 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000483/0.7441, allocations: 222.8 kB / 0.8223 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.7456, allocations: 341.2 kB / 0.8226 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003664/0.7459, allocations: 198.8 kB / 0.8228 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.526e-05/0.746, allocations: 22.31 kB / 0.8228 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.7473, allocations: 0.5457 MB / 0.8233 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.7474, allocations: 99.52 kB / 0.8234 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.7476, allocations: 138.9 kB / 0.8236 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.7487, allocations: 0.559 MB / 0.8241 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.7487, allocations: 0 / 0.8241 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7487, allocations: 0.9688 kB / 0.8241 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.106e-06/0.7487, allocations: 1.031 kB / 0.8241 GB, free: 2.781 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001081/0.7498, allocations: 0.6471 MB / 0.8247 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.7499, allocations: 9.062 kB / 0.8248 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.592e-05/0.7499, allocations: 54.73 kB / 0.8248 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005212/0.7505, allocations: 76.41 kB / 0.8249 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.7509, allocations: 314.1 kB / 0.8252 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.7509, allocations: 16.47 kB / 0.8252 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.7509, allocations: 19.44 kB / 0.8252 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006496/0.7516, allocations: 312.6 kB / 0.8255 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.7516, allocations: 1.25 kB / 0.8255 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.7517, allocations: 7.469 kB / 0.8255 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.7517, allocations: 5.219 kB / 0.8255 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000668/0.7523, allocations: 250.4 kB / 0.8258 GB, free: 1.941 MB / 0.6387 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.001563/0.7539, allocations: 1.25 MB / 0.827 GB, free: 17.08 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000429/0.7544, allocations: 173.6 kB / 0.8272 GB, free: 17.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.7547, allocations: 127.3 kB / 0.8273 GB, free: 17.05 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006091/0.7553, allocations: 308.1 kB / 0.8276 GB, free: 16.77 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.7553, allocations: 34.69 kB / 0.8276 GB, free: 16.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.512e-06/0.7553, allocations: 1.094 kB / 0.8276 GB, free: 16.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.00228/0.7576, allocations: 0.5748 MB / 0.8282 GB, free: 16.58 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.7577, allocations: 53.19 kB / 0.8282 GB, free: 16.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.758, allocations: 254.2 kB / 0.8285 GB, free: 16.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.758, allocations: 31.64 kB / 0.8285 GB, free: 16.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.7581, allocations: 167.6 kB / 0.8286 GB, free: 16.27 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.7582, allocations: 48.75 kB / 0.8287 GB, free: 16.24 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.565e-05/0.7583, allocations: 37.58 kB / 0.8287 GB, free: 16.23 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.7584, allocations: 335.8 kB / 0.829 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/0.7587, allocations: 90.77 kB / 0.8291 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.759, allocations: 141.9 kB / 0.8293 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005835/0.7596, allocations: 235.5 kB / 0.8295 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.7597, allocations: 1.125 kB / 0.8295 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001171/0.7608, allocations: 352.5 kB / 0.8298 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.7609, allocations: 9.344 kB / 0.8298 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.7609, allocations: 5.828 kB / 0.8298 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006095/0.7615, allocations: 90.67 kB / 0.8299 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.7617, allocations: 42.72 kB / 0.83 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/0.764, allocations: 1.731 MB / 0.8317 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.7643, allocations: 36.7 kB / 0.8317 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.7643, allocations: 7.703 kB / 0.8317 GB, free: 14.37 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 15 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002107/0.7645, allocations: 154 kB / 0.8319 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/0.7646, allocations: 24.3 kB / 0.8319 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.7657, allocations: 368 kB / 0.8322 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.7658, allocations: 5.906 kB / 0.8322 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.7658, allocations: 1.031 kB / 0.8322 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.7658, allocations: 0 / 0.8322 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/0.7674, allocations: 0.7733 MB / 0.833 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.7674, allocations: 2.031 kB / 0.833 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.7676, allocations: 40.19 kB / 0.833 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004268/0.768, allocations: 79.45 kB / 0.8331 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.7681, allocations: 5.297 kB / 0.8331 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.77, allocations: 1.742 MB / 0.8348 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.77, allocations: 1.281 kB / 0.8348 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.7712, allocations: 454.7 kB / 0.8352 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.7713, allocations: 117.8 kB / 0.8354 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.7713, allocations: 8.391 kB / 0.8354 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.7716, allocations: 25.39 kB / 0.8354 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/0.7717, allocations: 22.67 kB / 0.8354 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.7717, allocations: 5.875 kB / 0.8354 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001869/0.7719, allocations: 186.3 kB / 0.8356 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7719, allocations: 0 / 0.8356 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004404/0.7723, allocations: 87.89 kB / 0.8357 GB, free: 12.07 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (12): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001737/0.7741, allocations: 1.041 MB / 0.8367 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009609/0.7751, allocations: 361.8 kB / 0.837 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.7751, allocations: 0 / 0.837 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005618/0.7756, allocations: 257.7 kB / 0.8373 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000686/0.7763, allocations: 122.9 kB / 0.8374 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004639/0.781, allocations: 2.807 MB / 0.8401 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.7814, allocations: 0.7728 MB / 0.8409 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002232/0.7816, allocations: 59.39 kB / 0.841 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.7818, allocations: 77.88 kB / 0.841 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of SimCode: time 6.11e-07/0.7818, allocations: 5.562 kB / 0.841 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0331/0.8149, allocations: 8.68 MB / 0.8495 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.35, allocations: 8.562 kB / 0.8495 GB, free: 8.293 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv --start-time 0 --stop-time 120 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.048 IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)