Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.Density,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Density,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density",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.001473/0.001474, allocations: 105.8 kB / 16.4 MB, free: 6.492 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.001538/0.001538, allocations: 189.2 kB / 17.34 MB, free: 5.742 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7225/0.7225, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 66.28 kB / 0.5572 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1469, allocations: 76.18 MB / 0.6316 GB, free: 4.84 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Density): time 0.6165/0.7634, allocations: 185 MB / 0.8123 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009908/0.7734, allocations: 6.973 MB / 0.8191 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.7748, allocations: 30.22 kB / 0.8191 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.7762, allocations: 398.1 kB / 0.8195 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004134/0.7805, allocations: 1.447 MB / 0.8209 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003268/0.7837, allocations: 1.167 MB / 0.8221 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002694/0.7864, allocations: 1.947 MB / 0.824 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.7876, allocations: 0.6592 MB / 0.8246 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/0.7894, allocations: 0.8329 MB / 0.8254 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001543/0.7909, allocations: 0.5928 MB / 0.826 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000205/0.7912, allocations: 67.94 kB / 0.8261 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003808/0.795, allocations: 1.929 MB / 0.8279 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004947/0.7955, allocations: 293.6 kB / 0.8282 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008502/0.7963, allocations: 439.5 kB / 0.8286 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003824/0.8002, allocations: 1.756 MB / 0.8304 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.8002, allocations: 0 / 0.8304 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8002, allocations: 0 / 0.8304 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.039e-05/0.8003, allocations: 3.312 kB / 0.8304 GB, free: 3.344 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002514/0.8028, allocations: 1.166 MB / 0.8315 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.8028, allocations: 14.38 kB / 0.8315 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001646/0.803, allocations: 94.42 kB / 0.8316 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001991/0.805, allocations: 268.4 kB / 0.8319 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.8063, allocations: 0.6136 MB / 0.8325 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.971e-05/0.8064, allocations: 43.84 kB / 0.8325 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.8065, allocations: 54 kB / 0.8326 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.8076, allocations: 0.6383 MB / 0.8332 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.8076, allocations: 3.938 kB / 0.8332 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.734e-05/0.8077, allocations: 25.17 kB / 0.8332 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/0.8077, allocations: 22.53 kB / 0.8332 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009068/0.8086, allocations: 0.5193 MB / 0.8337 GB, free: 1.027 MB / 0.5919 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.003263/0.8119, allocations: 2.446 MB / 0.8361 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006297/0.8125, allocations: 373.5 kB / 0.8365 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003597/0.8129, allocations: 239.8 kB / 0.8367 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005456/0.8135, allocations: 312.4 kB / 0.837 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.8135, allocations: 36.67 kB / 0.837 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 2.545e-06/0.8135, allocations: 0 / 0.837 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.001346/0.8149, allocations: 0.6179 MB / 0.8376 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.8149, allocations: 58.03 kB / 0.8377 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005774/0.8155, allocations: 0.4904 MB / 0.8382 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.614e-05/0.8156, allocations: 38.42 kB / 0.8382 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.8158, allocations: 327.7 kB / 0.8385 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.8159, allocations: 134.1 kB / 0.8387 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.8161, allocations: 91.84 kB / 0.8387 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.8162, allocations: 366.9 kB / 0.8391 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/0.8165, allocations: 183.1 kB / 0.8393 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003891/0.8169, allocations: 281.5 kB / 0.8395 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006758/0.8176, allocations: 456.1 kB / 0.84 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.8176, allocations: 0 / 0.84 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008964/0.8185, allocations: 0.5189 MB / 0.8405 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.8186, allocations: 11.44 kB / 0.8405 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.8186, allocations: 2.844 kB / 0.8405 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.8186, allocations: 2.438 kB / 0.8405 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006636/0.8193, allocations: 130.2 kB / 0.8406 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003794/0.8197, allocations: 0.6031 MB / 0.8412 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005684/0.8203, allocations: 53.14 kB / 0.8413 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-05/0.8203, allocations: 17.36 kB / 0.8413 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005094/0.8208, allocations: 355.7 kB / 0.8416 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003693/0.8212, allocations: 279.7 kB / 0.8419 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006399/0.8219, allocations: 448.5 kB / 0.8423 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.166e-06/0.8219, allocations: 0 / 0.8423 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008655/0.8227, allocations: 0.5244 MB / 0.8428 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.8228, allocations: 11.31 kB / 0.8428 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.8228, allocations: 2.719 kB / 0.8428 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.8228, allocations: 8.812 kB / 0.8428 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004663/0.8233, allocations: 117.4 kB / 0.843 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.8233, allocations: 9.234 kB / 0.843 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005241/0.8238, allocations: 42.83 kB / 0.843 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/0.8239, allocations: 16.12 kB / 0.843 GB, free: 10.12 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001752/0.824, allocations: 204.3 kB / 0.8432 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.8242, allocations: 65.38 kB / 0.8433 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008721/0.825, allocations: 486 kB / 0.8437 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.8251, allocations: 5.125 kB / 0.8437 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.8251, allocations: 3.938 kB / 0.8437 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007372/0.8258, allocations: 0.71 MB / 0.8444 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.8278, allocations: 1.283 MB / 0.8457 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.8279, allocations: 0 / 0.8457 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006117/0.8285, allocations: 128.8 kB / 0.8458 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/0.8285, allocations: 7.984 kB / 0.8458 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.981e-05/0.8285, allocations: 8 kB / 0.8458 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003328/0.8289, allocations: 0.59 MB / 0.8464 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.8289, allocations: 8 kB / 0.8464 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.8301, allocations: 0.7987 MB / 0.8472 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003224/0.8305, allocations: 176.4 kB / 0.8474 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.8306, allocations: 19.92 kB / 0.8474 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000431/0.831, allocations: 15.98 kB / 0.8474 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/0.8311, allocations: 27.91 kB / 0.8474 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.8311, allocations: 16 kB / 0.8474 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004528/0.8316, allocations: 354.8 kB / 0.8478 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8316, allocations: 4 kB / 0.8478 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001078/0.8327, allocations: 359.1 kB / 0.8481 GB, free: 5.305 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senDenFlo.d) * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001735/0.8344, allocations: 1.454 MB / 0.8495 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.8359, allocations: 0.6698 MB / 0.8502 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/0.8359, allocations: 4 kB / 0.8502 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004216/0.8364, allocations: 215.8 kB / 0.8504 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/0.8381, allocations: 348 kB / 0.8507 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007145/0.8452, allocations: 5.029 MB / 0.8557 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005995/0.8459, allocations: 0.9418 MB / 0.8566 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007011/0.8466, allocations: 212.9 kB / 0.8568 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/0.8469, allocations: 227.4 kB / 0.857 GB, free: 12 MB / 0.6231 GB Notification: Performance of SimCode: time 1.132e-06/0.8469, allocations: 0 / 0.857 GB, free: 12 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04399/0.8909, allocations: 18.15 MB / 0.8747 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.89, allocations: 4 kB / 0.8747 GB, free: 10.12 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe 2>&1)