Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.005477/0.005483, allocations: 95.48 kB / 15.73 MB, free: 6.484 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.001388/0.001388, allocations: 191.3 kB / 16.67 MB, free: 6.391 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.041/1.041, allocations: 143.3 MB / 433.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 63.89 kB / 0.5953 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4414, allocations: 82.02 MB / 0.6754 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1967/0.6381, allocations: 161.5 MB / 0.8332 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005982/0.6441, allocations: 3.51 MB / 0.8366 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005303/0.6447, allocations: 11.94 kB / 0.8366 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000602/0.6453, allocations: 127 kB / 0.8367 GB, free: 420 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001733/0.6471, allocations: 449.9 kB / 0.8371 GB, free: 15.97 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002264/0.6494, allocations: 0.5948 MB / 0.8377 GB, free: 15.38 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001175/0.6506, allocations: 0.6244 MB / 0.8383 GB, free: 14.75 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005768/0.6512, allocations: 228.7 kB / 0.8386 GB, free: 14.53 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.6529, allocations: 352.8 kB / 0.8389 GB, free: 14.2 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004922/0.6534, allocations: 203.1 kB / 0.8391 GB, free: 14 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 9.227e-05/0.6535, allocations: 20 kB / 0.8391 GB, free: 13.98 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.6549, allocations: 0.5456 MB / 0.8396 GB, free: 13.43 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001885/0.6551, allocations: 99.7 kB / 0.8397 GB, free: 13.33 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000265/0.6554, allocations: 139.3 kB / 0.8399 GB, free: 13.2 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.6566, allocations: 0.5732 MB / 0.8404 GB, free: 12.62 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6566, allocations: 0 / 0.8404 GB, free: 12.62 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6566, allocations: 0 / 0.8404 GB, free: 12.62 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.6567, allocations: 0 / 0.8404 GB, free: 12.62 MB / 0.67 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.001311/0.658, allocations: 0.6461 MB / 0.8411 GB, free: 11.93 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.658, allocations: 11.97 kB / 0.8411 GB, free: 11.92 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.261e-05/0.6581, allocations: 54.55 kB / 0.8411 GB, free: 11.86 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006112/0.6587, allocations: 79.69 kB / 0.8412 GB, free: 11.78 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005007/0.6593, allocations: 305.5 kB / 0.8415 GB, free: 11.44 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.6593, allocations: 12.44 kB / 0.8415 GB, free: 11.43 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.16e-05/0.6593, allocations: 27.94 kB / 0.8415 GB, free: 11.4 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006842/0.66, allocations: 312.2 kB / 0.8418 GB, free: 11.07 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.6601, allocations: 0 / 0.8418 GB, free: 11.07 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.6601, allocations: 8 kB / 0.8418 GB, free: 11.07 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.6601, allocations: 7.938 kB / 0.8418 GB, free: 11.06 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007067/0.6608, allocations: 252.9 kB / 0.8421 GB, free: 10.81 MB / 0.67 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.001796/0.6626, allocations: 1.241 MB / 0.8433 GB, free: 9.461 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/0.6631, allocations: 182.5 kB / 0.8435 GB, free: 9.273 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003312/0.6634, allocations: 124.8 kB / 0.8436 GB, free: 9.148 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006176/0.6641, allocations: 307.2 kB / 0.8439 GB, free: 8.793 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.6641, allocations: 30.56 kB / 0.8439 GB, free: 8.754 MB / 0.67 GB Notification: Performance of pre-optimization done (n=14): time 1.733e-06/0.6641, allocations: 0 / 0.8439 GB, free: 8.754 MB / 0.67 GB Notification: Performance of matching and sorting (n=14): time 0.002325/0.6664, allocations: 0.581 MB / 0.8445 GB, free: 8.145 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.6665, allocations: 55.34 kB / 0.8445 GB, free: 8.078 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.6668, allocations: 250.7 kB / 0.8448 GB, free: 7.832 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.6668, allocations: 25.7 kB / 0.8448 GB, free: 7.801 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.667, allocations: 172.3 kB / 0.845 GB, free: 7.629 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.667, allocations: 51.53 kB / 0.845 GB, free: 7.578 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.149e-05/0.6671, allocations: 37.7 kB / 0.845 GB, free: 7.535 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.6673, allocations: 330.8 kB / 0.8454 GB, free: 7.203 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003228/0.6676, allocations: 99.91 kB / 0.8454 GB, free: 7.105 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.668, allocations: 132.1 kB / 0.8456 GB, free: 6.961 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006432/0.6686, allocations: 250.8 kB / 0.8458 GB, free: 6.703 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.6686, allocations: 4 kB / 0.8458 GB, free: 6.699 MB / 0.67 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001215/0.6698, allocations: 350 kB / 0.8462 GB, free: 6.348 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.6699, allocations: 4 kB / 0.8462 GB, free: 6.344 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.6699, allocations: 4 kB / 0.8462 GB, free: 6.34 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006202/0.6705, allocations: 84.89 kB / 0.8462 GB, free: 6.254 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.6708, allocations: 43.97 kB / 0.8463 GB, free: 6.211 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/0.6732, allocations: 1.731 MB / 0.848 GB, free: 4.332 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.6735, allocations: 31.94 kB / 0.848 GB, free: 4.301 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.6735, allocations: 4 kB / 0.848 GB, free: 4.297 MB / 0.67 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.0001767/0.6737, allocations: 152.6 kB / 0.8482 GB, free: 4.141 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.987e-05/0.6738, allocations: 19.86 kB / 0.8482 GB, free: 4.121 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.675, allocations: 367.9 kB / 0.8485 GB, free: 3.75 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.675, allocations: 0 / 0.8485 GB, free: 3.75 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.675, allocations: 4 kB / 0.8485 GB, free: 3.746 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.675, allocations: 3.984 kB / 0.8485 GB, free: 3.742 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.6768, allocations: 0.7746 MB / 0.8493 GB, free: 2.898 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.6768, allocations: 0 / 0.8493 GB, free: 2.898 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.6771, allocations: 43.98 kB / 0.8493 GB, free: 2.855 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004526/0.6775, allocations: 76.72 kB / 0.8494 GB, free: 2.777 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.6775, allocations: 4 kB / 0.8494 GB, free: 2.773 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002134/0.6797, allocations: 1.736 MB / 0.8511 GB, free: 0.8945 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.6797, allocations: 144 / 0.8511 GB, free: 0.8945 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.6809, allocations: 468.3 kB / 0.8515 GB, free: 420 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.681, allocations: 116.9 kB / 0.8517 GB, free: 284 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.6811, allocations: 7.938 kB / 0.8517 GB, free: 276 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.6814, allocations: 23.97 kB / 0.8517 GB, free: 252 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.854e-05/0.6814, allocations: 27.91 kB / 0.8517 GB, free: 224 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.6815, allocations: 4 kB / 0.8517 GB, free: 220 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001925/0.6817, allocations: 186 kB / 0.8519 GB, free: 32 kB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6817, allocations: 0 / 0.8519 GB, free: 32 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004504/0.6821, allocations: 83.88 kB / 0.852 GB, free: 15.95 MB / 0.6856 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.001859/0.684, allocations: 1.037 MB / 0.853 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.6851, allocations: 362.4 kB / 0.8533 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.6851, allocations: 0 / 0.8533 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006304/0.6857, allocations: 270.9 kB / 0.8536 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007498/0.6865, allocations: 124.3 kB / 0.8537 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005174/0.6917, allocations: 2.812 MB / 0.8565 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.6922, allocations: 0.7675 MB / 0.8572 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002319/0.6924, allocations: 54.25 kB / 0.8573 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.6926, allocations: 75.42 kB / 0.8573 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of SimCode: time 7.41e-07/0.6926, allocations: 0 / 0.8573 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03855/0.7311, allocations: 8.72 MB / 0.8658 GB, free: 1.785 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.89, allocations: 11.98 kB / 0.8659 GB, free: 1.773 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)