Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",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.009222/0.009222, allocations: 99.33 kB / 15.73 MB, free: 6.445 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.002173/0.002173, allocations: 194.1 kB / 16.67 MB, free: 6.348 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.014/1.014, allocations: 143.3 MB / 433.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 67.89 kB / 0.5953 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4538/0.456, allocations: 82.04 MB / 0.6754 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1983/0.6544, allocations: 169.5 MB / 0.8409 GB, free: 12.1 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009433/0.6638, allocations: 7.157 MB / 0.8479 GB, free: 4.922 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004416/0.6643, allocations: 15.88 kB / 0.8479 GB, free: 4.906 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005834/0.6649, allocations: 166.8 kB / 0.8481 GB, free: 4.742 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003355/0.6683, allocations: 1.264 MB / 0.8493 GB, free: 3.473 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.67, allocations: 0.6309 MB / 0.85 GB, free: 2.844 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001082/0.6711, allocations: 0.7563 MB / 0.8507 GB, free: 2.082 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005468/0.6717, allocations: 291.5 kB / 0.851 GB, free: 1.797 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.6729, allocations: 0.5682 MB / 0.8515 GB, free: 1.227 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009025/0.6739, allocations: 426 kB / 0.8519 GB, free: 0.8125 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 7.343e-05/0.6739, allocations: 24 kB / 0.852 GB, free: 0.7891 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002318/0.6763, allocations: 1.247 MB / 0.8532 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.6765, allocations: 119.6 kB / 0.8533 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002526/0.6767, allocations: 179.1 kB / 0.8535 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.6785, allocations: 0.9203 MB / 0.8544 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.6785, allocations: 0 / 0.8544 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6785, allocations: 0 / 0.8544 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.6785, allocations: 0 / 0.8544 GB, free: 14.32 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.00118/0.6797, allocations: 0.7159 MB / 0.8551 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.6798, allocations: 8.031 kB / 0.8551 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.884e-05/0.6799, allocations: 62.53 kB / 0.8551 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.6809, allocations: 135.6 kB / 0.8553 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000579/0.6815, allocations: 345.4 kB / 0.8556 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.918e-05/0.6816, allocations: 50.25 kB / 0.8556 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.756e-05/0.6816, allocations: 28 kB / 0.8557 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006977/0.6823, allocations: 366.1 kB / 0.856 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.6824, allocations: 0 / 0.856 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.6824, allocations: 16 kB / 0.856 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.6824, allocations: 4 kB / 0.856 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005745/0.683, allocations: 278 kB / 0.8563 GB, free: 12.22 MB / 0.6856 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.002016/0.685, allocations: 1.501 MB / 0.8578 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004313/0.6855, allocations: 194.5 kB / 0.8579 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.6857, allocations: 123.5 kB / 0.8581 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009982/0.6867, allocations: 0.5053 MB / 0.8586 GB, free: 9.676 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.6868, allocations: 30.56 kB / 0.8586 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=15): time 1.984e-06/0.6868, allocations: 4 kB / 0.8586 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15): time 0.001005/0.6878, allocations: 361.2 kB / 0.8589 GB, free: 9.273 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.6878, allocations: 51.41 kB / 0.859 GB, free: 9.211 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.6882, allocations: 316.5 kB / 0.8593 GB, free: 8.895 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.6882, allocations: 29.7 kB / 0.8593 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.6884, allocations: 192.2 kB / 0.8595 GB, free: 8.668 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.289e-05/0.6885, allocations: 51.53 kB / 0.8595 GB, free: 8.617 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.947e-05/0.6886, allocations: 49.66 kB / 0.8596 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.6887, allocations: 338.8 kB / 0.8599 GB, free: 8.223 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.6889, allocations: 87.92 kB / 0.86 GB, free: 8.137 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.6892, allocations: 149.9 kB / 0.8601 GB, free: 7.969 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004599/0.6897, allocations: 241.1 kB / 0.8604 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6897, allocations: 0 / 0.8604 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006329/0.6903, allocations: 285.2 kB / 0.8606 GB, free: 7.43 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.6904, allocations: 4 kB / 0.8606 GB, free: 7.426 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6904, allocations: 0 / 0.8606 GB, free: 7.426 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.6904, allocations: 8.188 kB / 0.8607 GB, free: 7.418 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.6906, allocations: 47.91 kB / 0.8607 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.6907, allocations: 4 kB / 0.8607 GB, free: 7.367 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.6909, allocations: 23.83 kB / 0.8607 GB, free: 7.344 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.6909, allocations: 16 kB / 0.8607 GB, free: 7.328 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001758/0.6911, allocations: 153.6 kB / 0.8609 GB, free: 7.168 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.6912, allocations: 31.81 kB / 0.8609 GB, free: 7.137 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007311/0.692, allocations: 308.2 kB / 0.8612 GB, free: 6.824 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.692, allocations: 4 kB / 0.8612 GB, free: 6.82 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.692, allocations: 0 / 0.8612 GB, free: 6.82 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.692, allocations: 0 / 0.8612 GB, free: 6.82 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.6934, allocations: 0.8121 MB / 0.862 GB, free: 5.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.6934, allocations: 4 kB / 0.862 GB, free: 5.926 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.6936, allocations: 39.92 kB / 0.8621 GB, free: 5.887 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.6936, allocations: 3.938 kB / 0.8621 GB, free: 5.883 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.6936, allocations: 16.2 kB / 0.8621 GB, free: 5.867 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.6936, allocations: 4 kB / 0.8621 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6936, allocations: 0 / 0.8621 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006489/0.6943, allocations: 403.8 kB / 0.8625 GB, free: 5.434 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.6945, allocations: 132.9 kB / 0.8626 GB, free: 5.285 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.076e-05/0.6945, allocations: 11.92 kB / 0.8626 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.6948, allocations: 11.98 kB / 0.8626 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/0.6948, allocations: 19.98 kB / 0.8626 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.6949, allocations: 15.88 kB / 0.8626 GB, free: 5.227 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002422/0.6951, allocations: 227 kB / 0.8629 GB, free: 5.004 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6951, allocations: 0 / 0.8629 GB, free: 5.004 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000508/0.6956, allocations: 123.7 kB / 0.863 GB, free: 4.883 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001484/0.6971, allocations: 1.06 MB / 0.864 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005475/0.6977, allocations: 215.7 kB / 0.8642 GB, free: 3.566 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.6977, allocations: 8.375 kB / 0.8642 GB, free: 3.559 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.698, allocations: 119.8 kB / 0.8643 GB, free: 3.441 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008681/0.6988, allocations: 157.2 kB / 0.8645 GB, free: 3.297 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/0.7032, allocations: 3.055 MB / 0.8675 GB, free: 88 kB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2849/0.9881, allocations: 0.7843 MB / 0.8682 GB, free: 187.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003461/0.9885, allocations: 89.61 kB / 0.8683 GB, free: 187.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.9887, allocations: 97.59 kB / 0.8684 GB, free: 187.8 MB / 0.6856 GB Notification: Performance of SimCode: time 1.343e-06/0.9887, allocations: 2.344 kB / 0.8684 GB, free: 187.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2498/1.238, allocations: 10.58 MB / 0.8788 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/11.38, allocations: 13.56 kB / 0.8788 GB, free: 184.4 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)