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.01428/0.01427, allocations: 102.6 kB / 15.73 MB, free: 6.047 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.002374/0.002373, allocations: 196.8 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 2.403/2.403, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.427/1.427, allocations: 132.2 MB / 422.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002635/0.002635, allocations: 63.91 kB / 0.5809 GB, free: 8.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8516/0.8543, allocations: 80.2 MB / 0.6592 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.323/1.177, allocations: 161.5 MB / 0.8169 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0084/1.186, allocations: 3.485 MB / 0.8203 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006803/1.187, allocations: 11.94 kB / 0.8203 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008219/1.187, allocations: 135 kB / 0.8204 GB, free: 464 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002128/1.19, allocations: 461.8 kB / 0.8209 GB, free: 0 / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002831/1.192, allocations: 0.5932 MB / 0.8215 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001396/1.194, allocations: 0.6167 MB / 0.8221 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007129/1.195, allocations: 224.6 kB / 0.8223 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002246/1.197, allocations: 344 kB / 0.8226 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005734/1.197, allocations: 195.2 kB / 0.8228 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001161/1.198, allocations: 20 kB / 0.8228 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/1.199, allocations: 0.5533 MB / 0.8234 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002621/1.2, allocations: 95.77 kB / 0.8234 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003635/1.2, allocations: 139.3 kB / 0.8236 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001876/1.202, allocations: 0.557 MB / 0.8241 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/1.202, allocations: 0 / 0.8241 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of FrontEnd: time 7.705e-06/1.202, allocations: 11.98 kB / 0.8241 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.977e-05/1.202, allocations: 0 / 0.8241 GB, free: 12.68 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.002081/1.204, allocations: 0.6194 MB / 0.8247 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.845e-05/1.204, allocations: 12.03 kB / 0.8248 GB, free: 12 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001423/1.204, allocations: 54.55 kB / 0.8248 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000985/1.205, allocations: 79.56 kB / 0.8249 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008136/1.206, allocations: 309.3 kB / 0.8252 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/1.206, allocations: 16.44 kB / 0.8252 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.801e-05/1.206, allocations: 23.94 kB / 0.8252 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/1.207, allocations: 308.1 kB / 0.8255 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/1.207, allocations: 0 / 0.8255 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.602e-05/1.208, allocations: 16 kB / 0.8255 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/1.208, allocations: 4 kB / 0.8255 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/1.209, allocations: 244.9 kB / 0.8258 GB, free: 10.9 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.002773/1.211, allocations: 1.244 MB / 0.827 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007257/1.212, allocations: 174.5 kB / 0.8271 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005182/1.213, allocations: 132.8 kB / 0.8273 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008944/1.214, allocations: 295.2 kB / 0.8275 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/1.214, allocations: 38.5 kB / 0.8276 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 2.906e-06/1.214, allocations: 0 / 0.8276 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.00361/1.217, allocations: 0.5731 MB / 0.8281 GB, free: 8.238 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/1.217, allocations: 59.41 kB / 0.8282 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004226/1.218, allocations: 246.7 kB / 0.8284 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.013e-05/1.218, allocations: 29.7 kB / 0.8285 GB, free: 7.891 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/1.218, allocations: 168.1 kB / 0.8286 GB, free: 7.723 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.397e-05/1.218, allocations: 51.3 kB / 0.8287 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/1.218, allocations: 37.7 kB / 0.8287 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001732/1.219, allocations: 338.8 kB / 0.829 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004556/1.219, allocations: 87.92 kB / 0.8291 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000504/1.219, allocations: 142.6 kB / 0.8293 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009644/1.22, allocations: 251.3 kB / 0.8295 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.22, allocations: 0 / 0.8295 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001914/1.222, allocations: 341.9 kB / 0.8298 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/1.222, allocations: 8 kB / 0.8298 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/1.222, allocations: 0 / 0.8298 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009816/1.223, allocations: 88.89 kB / 0.8299 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/1.224, allocations: 43.95 kB / 0.83 GB, free: 6.309 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003842/1.228, allocations: 1.738 MB / 0.8317 GB, free: 4.434 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004225/1.228, allocations: 27.77 kB / 0.8317 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.313e-05/1.228, allocations: 15.98 kB / 0.8317 GB, free: 4.391 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.0002598/1.229, allocations: 142.5 kB / 0.8318 GB, free: 4.242 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/1.229, allocations: 27.66 kB / 0.8319 GB, free: 4.215 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/1.231, allocations: 366.7 kB / 0.8322 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/1.231, allocations: 0 / 0.8322 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/1.231, allocations: 4 kB / 0.8322 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/1.231, allocations: 3.984 kB / 0.8322 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002709/1.233, allocations: 0.7669 MB / 0.833 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/1.233, allocations: 0 / 0.833 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000348/1.234, allocations: 43.89 kB / 0.833 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007184/1.234, allocations: 76.84 kB / 0.8331 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/1.234, allocations: 7.938 kB / 0.8331 GB, free: 2.875 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003202/1.238, allocations: 1.739 MB / 0.8348 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/1.238, allocations: 11.92 kB / 0.8348 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/1.24, allocations: 446.4 kB / 0.8352 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002369/1.24, allocations: 124.7 kB / 0.8353 GB, free: 380 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.43e-05/1.24, allocations: 7.984 kB / 0.8353 GB, free: 372 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00043/1.24, allocations: 23.98 kB / 0.8354 GB, free: 348 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/1.24, allocations: 23.91 kB / 0.8354 GB, free: 324 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/1.241, allocations: 8 kB / 0.8354 GB, free: 316 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002897/1.241, allocations: 182 kB / 0.8356 GB, free: 136 kB / 0.6544 GB Notification: Performance of sort global known variables: time 4.11e-07/1.241, allocations: 0 / 0.8356 GB, free: 136 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007946/1.242, allocations: 79.84 kB / 0.8356 GB, free: 56 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.00278/1.244, allocations: 1.041 MB / 0.8367 GB, free: 14.98 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001653/1.246, allocations: 358.4 kB / 0.837 GB, free: 14.62 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/1.246, allocations: 4.25 kB / 0.837 GB, free: 14.62 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009215/1.247, allocations: 258.4 kB / 0.8373 GB, free: 14.35 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/1.248, allocations: 138.8 kB / 0.8374 GB, free: 14.23 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008099/1.257, allocations: 2.797 MB / 0.8401 GB, free: 11.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005689/1.257, allocations: 0.7675 MB / 0.8409 GB, free: 10.51 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004093/1.258, allocations: 50.25 kB / 0.8409 GB, free: 10.46 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/1.258, allocations: 83.41 kB / 0.841 GB, free: 10.38 MB / 0.67 GB Notification: Performance of SimCode: time 2.044e-06/1.258, allocations: 0 / 0.841 GB, free: 10.38 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06518/1.323, allocations: 8.839 MB / 0.8496 GB, free: 1.781 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.54/19.86, allocations: 64 / 0.8496 GB, free: 1.781 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)