Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_dev_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.001719/0.001719, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002101/0.002102, allocations: 191.5 kB / 16.25 MB, free: 6.637 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.5/1.5, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.069/1.069, allocations: 135.1 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 65.28 kB / 0.505 GB, free: 5.566 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1709, allocations: 80.93 MB / 0.584 GB, free: 4.801 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.7976/0.9686, allocations: 159.3 MB / 0.7395 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008615/0.9772, allocations: 3.462 MB / 0.7429 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006692/0.978, allocations: 13.69 kB / 0.7429 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007286/0.9787, allocations: 107.2 kB / 0.743 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002308/0.9811, allocations: 431.3 kB / 0.7434 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002805/0.9839, allocations: 0.5475 MB / 0.744 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001401/0.9853, allocations: 0.6183 MB / 0.7446 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000673/0.986, allocations: 225.3 kB / 0.7448 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00291/0.989, allocations: 336.8 kB / 0.7451 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000677/0.9897, allocations: 209.8 kB / 0.7453 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001439/0.9898, allocations: 25.62 kB / 0.7453 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002233/0.9921, allocations: 0.5617 MB / 0.7459 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002813/0.9924, allocations: 97.31 kB / 0.746 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004054/0.9928, allocations: 141.2 kB / 0.7461 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00199/0.9948, allocations: 0.5844 MB / 0.7467 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.9948, allocations: 0 / 0.7467 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9948, allocations: 0 / 0.7467 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.935e-05/0.9949, allocations: 0 / 0.7467 GB, free: 5.121 MB / 0.5606 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.001875/0.9967, allocations: 0.6306 MB / 0.7473 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.9968, allocations: 9.5 kB / 0.7473 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001355/0.9969, allocations: 58.53 kB / 0.7473 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008801/0.9978, allocations: 78.52 kB / 0.7474 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005614/0.9984, allocations: 290.6 kB / 0.7477 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.9985, allocations: 16.28 kB / 0.7477 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.174e-05/0.9985, allocations: 23.16 kB / 0.7477 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009491/0.9995, allocations: 312.9 kB / 0.748 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.9995, allocations: 0 / 0.748 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.73e-05/0.9996, allocations: 14.69 kB / 0.7481 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.9996, allocations: 4.938 kB / 0.7481 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/1.001, allocations: 250.7 kB / 0.7483 GB, free: 3.832 MB / 0.5606 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.002541/1.003, allocations: 1.245 MB / 0.7495 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006833/1.004, allocations: 174.4 kB / 0.7497 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000507/1.004, allocations: 123.7 kB / 0.7498 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009186/1.005, allocations: 311.6 kB / 0.7501 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/1.005, allocations: 33.38 kB / 0.7501 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 2.655e-06/1.005, allocations: 0 / 0.7501 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.003636/1.009, allocations: 0.571 MB / 0.7507 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/1.009, allocations: 61.53 kB / 0.7507 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004521/1.01, allocations: 250.6 kB / 0.751 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.883e-05/1.01, allocations: 29.64 kB / 0.751 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/1.01, allocations: 168 kB / 0.7512 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.262e-05/1.01, allocations: 56.72 kB / 0.7512 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/1.01, allocations: 30.09 kB / 0.7513 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001997/1.01, allocations: 336.2 kB / 0.7516 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/1.011, allocations: 98.22 kB / 0.7517 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004926/1.011, allocations: 132.1 kB / 0.7518 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009548/1.012, allocations: 243 kB / 0.752 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.012, allocations: 0 / 0.752 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001786/1.014, allocations: 351 kB / 0.7524 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/1.014, allocations: 8 kB / 0.7524 GB, free: 500 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/1.014, allocations: 0 / 0.7524 GB, free: 500 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009625/1.015, allocations: 96.81 kB / 0.7525 GB, free: 400 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/1.015, allocations: 39.97 kB / 0.7525 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003603/1.019, allocations: 1.731 MB / 0.7542 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004397/1.02, allocations: 31.83 kB / 0.7542 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/1.02, allocations: 11.92 kB / 0.7542 GB, free: 14.44 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.0002662/1.02, allocations: 145.8 kB / 0.7544 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/1.02, allocations: 23.72 kB / 0.7544 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/1.022, allocations: 364 kB / 0.7547 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/1.022, allocations: 0 / 0.7547 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/1.022, allocations: 7.547 kB / 0.7547 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.022, allocations: 0 / 0.7547 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002746/1.025, allocations: 0.7785 MB / 0.7555 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.025, allocations: 0 / 0.7555 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003254/1.025, allocations: 35.95 kB / 0.7555 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007219/1.026, allocations: 84.75 kB / 0.7556 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/1.026, allocations: 4 kB / 0.7556 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002988/1.029, allocations: 1.739 MB / 0.7573 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.029, allocations: 0 / 0.7573 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/1.031, allocations: 460.9 kB / 0.7578 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/1.031, allocations: 120.7 kB / 0.7579 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.467e-05/1.031, allocations: 11.92 kB / 0.7579 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/1.032, allocations: 27.88 kB / 0.7579 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/1.032, allocations: 19.92 kB / 0.7579 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/1.032, allocations: 8.875 kB / 0.7579 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002499/1.032, allocations: 186 kB / 0.7581 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/1.032, allocations: 0 / 0.7581 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008141/1.033, allocations: 91.83 kB / 0.7582 GB, free: 10.09 MB / 0.5762 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.00259/1.035, allocations: 1.033 MB / 0.7592 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001765/1.037, allocations: 371.1 kB / 0.7596 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.037, allocations: 4 kB / 0.7596 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009672/1.038, allocations: 254.7 kB / 0.7598 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/1.039, allocations: 126.6 kB / 0.7599 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007904/1.047, allocations: 2.884 MB / 0.7628 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005453/1.048, allocations: 0.7752 MB / 0.7635 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004085/1.048, allocations: 50.25 kB / 0.7636 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/1.049, allocations: 79.41 kB / 0.7636 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/1.049, allocations: 0 / 0.7636 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.122/2.17, allocations: 8.309 MB / 0.7717 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003618/2.171, allocations: 274.2 kB / 0.772 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.009/5.18, allocations: 0 / 0.772 GB, free: 11.93 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)