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.005955/0.005955, allocations: 100 kB / 15.73 MB, free: 6.023 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.001307/0.001307, allocations: 187.7 kB / 16.67 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7621/0.7621, allocations: 132.2 MB / 422.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.91 kB / 0.5809 GB, free: 8.09 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4324, allocations: 80.21 MB / 0.6592 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1832/0.6157, allocations: 161.5 MB / 0.8169 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.005667/0.6214, allocations: 3.49 MB / 0.8203 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005329/0.622, allocations: 7.938 kB / 0.8203 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006331/0.6227, allocations: 135 kB / 0.8204 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.6243, allocations: 449.9 kB / 0.8209 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.6262, allocations: 0.5919 MB / 0.8215 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009667/0.6272, allocations: 0.6243 MB / 0.8221 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005097/0.6277, allocations: 232.6 kB / 0.8223 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.6292, allocations: 341.7 kB / 0.8226 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000375/0.6295, allocations: 191.2 kB / 0.8228 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.676e-05/0.6296, allocations: 24 kB / 0.8228 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.6308, allocations: 0.5456 MB / 0.8233 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.6309, allocations: 107.7 kB / 0.8235 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.6312, allocations: 143.3 kB / 0.8236 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.6324, allocations: 0.5492 MB / 0.8241 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.6324, allocations: 3.938 kB / 0.8241 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.615e-06/0.6324, allocations: 0 / 0.8241 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.6324, allocations: 0 / 0.8241 GB, free: 12.86 MB / 0.6544 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.00131/0.6337, allocations: 0.6272 MB / 0.8247 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.6338, allocations: 12.03 kB / 0.8248 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.562e-05/0.6339, allocations: 54.55 kB / 0.8248 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005455/0.6344, allocations: 67.58 kB / 0.8249 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005163/0.635, allocations: 317.3 kB / 0.8252 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.635, allocations: 16.44 kB / 0.8252 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/0.635, allocations: 16 kB / 0.8252 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006378/0.6357, allocations: 316.1 kB / 0.8255 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.6357, allocations: 7.938 kB / 0.8255 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.6357, allocations: 4 kB / 0.8255 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.6358, allocations: 7.984 kB / 0.8255 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006721/0.6364, allocations: 252.9 kB / 0.8258 GB, free: 11.07 MB / 0.6544 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.001789/0.6382, allocations: 1.229 MB / 0.827 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004625/0.6387, allocations: 186.5 kB / 0.8271 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.639, allocations: 120.8 kB / 0.8273 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006092/0.6397, allocations: 311.2 kB / 0.8276 GB, free: 9.059 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.6397, allocations: 34.56 kB / 0.8276 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 2.194e-06/0.6397, allocations: 0 / 0.8276 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0023/0.642, allocations: 0.5673 MB / 0.8281 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.6421, allocations: 55.41 kB / 0.8282 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.6423, allocations: 262.6 kB / 0.8284 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.6424, allocations: 29.7 kB / 0.8285 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.6425, allocations: 156.2 kB / 0.8286 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.878e-05/0.6426, allocations: 55.28 kB / 0.8287 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.926e-05/0.6426, allocations: 37.7 kB / 0.8287 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6428, allocations: 334.8 kB / 0.829 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.6431, allocations: 95.83 kB / 0.8291 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/0.6434, allocations: 142.2 kB / 0.8293 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005766/0.644, allocations: 240.1 kB / 0.8295 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.644, allocations: 0 / 0.8295 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001169/0.6452, allocations: 361 kB / 0.8298 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.6452, allocations: 4 kB / 0.8298 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.6452, allocations: 4 kB / 0.8298 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006089/0.6459, allocations: 88.89 kB / 0.8299 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.6461, allocations: 39.95 kB / 0.83 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002209/0.6483, allocations: 1.722 MB / 0.8316 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.6486, allocations: 43.66 kB / 0.8317 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.6486, allocations: 4 kB / 0.8317 GB, free: 4.578 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.0001573/0.6488, allocations: 150.5 kB / 0.8318 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/0.6489, allocations: 31.59 kB / 0.8319 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.65, allocations: 356 kB / 0.8322 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.65, allocations: 4 kB / 0.8322 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-06/0.65, allocations: 0 / 0.8322 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.65, allocations: 0 / 0.8322 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.6517, allocations: 0.7785 MB / 0.833 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.6518, allocations: 4 kB / 0.833 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.6519, allocations: 31.97 kB / 0.833 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004378/0.6524, allocations: 84.86 kB / 0.8331 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.6524, allocations: 4 kB / 0.8331 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/0.6543, allocations: 1.743 MB / 0.8348 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.6543, allocations: 3.938 kB / 0.8348 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.6555, allocations: 450.4 kB / 0.8352 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.6557, allocations: 128.7 kB / 0.8353 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.6557, allocations: 0 / 0.8353 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.656, allocations: 28.11 kB / 0.8354 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/0.656, allocations: 15.97 kB / 0.8354 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.6561, allocations: 8 kB / 0.8354 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001712/0.6562, allocations: 186 kB / 0.8356 GB, free: 324 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6562, allocations: 0 / 0.8356 GB, free: 324 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004696/0.6567, allocations: 91.83 kB / 0.8357 GB, free: 232 kB / 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.001662/0.6584, allocations: 1.032 MB / 0.8367 GB, free: 15.16 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.6594, allocations: 362.6 kB / 0.837 GB, free: 14.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6594, allocations: 0 / 0.837 GB, free: 14.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005948/0.66, allocations: 262.6 kB / 0.8373 GB, free: 14.53 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007601/0.6608, allocations: 124.9 kB / 0.8374 GB, free: 14.41 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005155/0.666, allocations: 2.796 MB / 0.8401 GB, free: 11.49 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.6664, allocations: 0.7753 MB / 0.8409 GB, free: 10.69 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002586/0.6667, allocations: 62.2 kB / 0.8409 GB, free: 10.63 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.6668, allocations: 75.41 kB / 0.841 GB, free: 10.56 MB / 0.67 GB Notification: Performance of SimCode: time 1.113e-06/0.6668, allocations: 0 / 0.841 GB, free: 10.56 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03067/0.6975, allocations: 8.834 MB / 0.8496 GB, free: 1.965 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/12.06, allocations: 4.062 kB / 0.8496 GB, free: 1.961 MB / 0.67 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)