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.0008155/0.0008155, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.0063/0.0063, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.312/1.312, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7425/0.7425, allocations: 132.3 MB / 423.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002975/0.0002976, allocations: 16.55 kB / 0.5041 GB, free: 3.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3581, allocations: 81.57 MB / 0.5837 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1568/0.515, allocations: 157.2 MB / 0.7372 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004071/0.5191, allocations: 3.478 MB / 0.7406 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002791/0.5194, allocations: 11.88 kB / 0.7406 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.5197, allocations: 95.36 kB / 0.7407 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.5208, allocations: 426.2 kB / 0.7411 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.522, allocations: 0.5434 MB / 0.7417 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007754/0.5228, allocations: 0.8077 MB / 0.7425 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003267/0.5231, allocations: 192.7 kB / 0.7426 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.5245, allocations: 291 kB / 0.7429 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.5248, allocations: 195.2 kB / 0.7431 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.87e-05/0.5248, allocations: 12 kB / 0.7431 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000843/0.5257, allocations: 0.6273 MB / 0.7437 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.628e-05/0.5258, allocations: 95.64 kB / 0.7438 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.5259, allocations: 157 kB / 0.744 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006782/0.5266, allocations: 0.5647 MB / 0.7445 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.5266, allocations: 0 / 0.7445 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5266, allocations: 0 / 0.7445 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.5266, allocations: 0 / 0.7445 GB, free: 11.18 MB / 0.5762 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.0009049/0.5276, allocations: 0.5884 MB / 0.7451 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.5276, allocations: 12.03 kB / 0.7451 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.279e-05/0.5277, allocations: 58.53 kB / 0.7452 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004771/0.5281, allocations: 79.56 kB / 0.7452 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.5285, allocations: 293.2 kB / 0.7455 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.5285, allocations: 12.44 kB / 0.7455 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.5285, allocations: 20 kB / 0.7455 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005968/0.5291, allocations: 332.2 kB / 0.7459 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.5292, allocations: 3.938 kB / 0.7459 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.5292, allocations: 4 kB / 0.7459 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.5292, allocations: 8 kB / 0.7459 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006531/0.5299, allocations: 288.8 kB / 0.7462 GB, free: 9.383 MB / 0.5762 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.001382/0.5312, allocations: 1.248 MB / 0.7474 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004144/0.5317, allocations: 190.5 kB / 0.7476 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003133/0.532, allocations: 144.8 kB / 0.7477 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005216/0.5325, allocations: 319.2 kB / 0.748 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.5326, allocations: 30.56 kB / 0.748 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.5326, allocations: 3.938 kB / 0.748 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.002164/0.5347, allocations: 0.6342 MB / 0.7486 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.5348, allocations: 51.41 kB / 0.7487 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.535, allocations: 254.7 kB / 0.7489 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.535, allocations: 25.7 kB / 0.749 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.99e-05/0.5351, allocations: 172.1 kB / 0.7491 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.5352, allocations: 51.28 kB / 0.7492 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.5352, allocations: 21.72 kB / 0.7492 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.59e-05/0.5353, allocations: 330.8 kB / 0.7495 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/0.5356, allocations: 115.9 kB / 0.7496 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.5359, allocations: 152.1 kB / 0.7498 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005826/0.5365, allocations: 268.1 kB / 0.75 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5365, allocations: 0 / 0.75 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001126/0.5377, allocations: 389.8 kB / 0.7504 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.5377, allocations: 8.125 kB / 0.7504 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.5377, allocations: 4 kB / 0.7504 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005654/0.5383, allocations: 88.75 kB / 0.7505 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.5385, allocations: 51.91 kB / 0.7505 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02597/0.5645, allocations: 1.616 MB / 0.7521 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000435/0.565, allocations: 43.88 kB / 0.7522 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/0.565, allocations: 8 kB / 0.7522 GB, free: 2.789 MB / 0.5762 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.0001751/0.5652, allocations: 147.3 kB / 0.7523 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.835e-05/0.5653, allocations: 27.7 kB / 0.7523 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.5665, allocations: 392 kB / 0.7527 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.5665, allocations: 0 / 0.7527 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.5665, allocations: 4 kB / 0.7527 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5665, allocations: 0 / 0.7527 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.5683, allocations: 0.813 MB / 0.7535 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.5683, allocations: 4 kB / 0.7535 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.5685, allocations: 48 kB / 0.7536 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005078/0.569, allocations: 92.75 kB / 0.7536 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.5691, allocations: 11.94 kB / 0.7537 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.5709, allocations: 1.613 MB / 0.7552 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.5709, allocations: 4.031 kB / 0.7552 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.572, allocations: 482.5 kB / 0.7557 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.5722, allocations: 128.7 kB / 0.7558 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.5722, allocations: 3.938 kB / 0.7558 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/0.5725, allocations: 35.97 kB / 0.7559 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.818e-05/0.5726, allocations: 23.91 kB / 0.7559 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.5726, allocations: 8 kB / 0.7559 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001492/0.5727, allocations: 182 kB / 0.7561 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5727, allocations: 4 kB / 0.7561 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003896/0.5731, allocations: 83.84 kB / 0.7561 GB, free: 14.45 MB / 0.5919 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.001606/0.5748, allocations: 1.073 MB / 0.7572 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009864/0.5758, allocations: 394.5 kB / 0.7576 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5758, allocations: 0 / 0.7576 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005664/0.5763, allocations: 274.7 kB / 0.7578 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007397/0.5771, allocations: 119.8 kB / 0.7579 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004505/0.5816, allocations: 2.985 MB / 0.7609 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.5819, allocations: 0.7636 MB / 0.7616 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002122/0.5821, allocations: 58.25 kB / 0.7617 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.5822, allocations: 75.41 kB / 0.7617 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.5822, allocations: 0 / 0.7617 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6428/1.225, allocations: 7.92 MB / 0.7695 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002509/1.225, allocations: 260.2 kB / 0.7697 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.205/3.43, allocations: 3.938 kB / 0.7697 GB, free: 0.5664 MB / 0.5919 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)