Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves",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.0008873/0.0008873, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005653/0.005653, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.267/1.267, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.9228/0.9228, allocations: 143.2 MB / 434.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002781/0.0002781, allocations: 12 kB / 0.5165 GB, free: 11.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1446, allocations: 83.42 MB / 0.598 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.3415/0.4861, allocations: 110.1 MB / 0.7055 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02861/0.5148, allocations: 20.14 MB / 0.7252 GB, free: 2.699 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003841/0.5187, allocations: 90.72 kB / 0.7253 GB, free: 2.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003286/0.522, allocations: 1.043 MB / 0.7263 GB, free: 2.055 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.5321, allocations: 3.38 MB / 0.7296 GB, free: 60 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007587/0.5397, allocations: 2.871 MB / 0.7324 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01155/0.5513, allocations: 9.538 MB / 0.7417 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003149/0.5544, allocations: 2.083 MB / 0.7437 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004795/0.5593, allocations: 2.317 MB / 0.746 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003131/0.5624, allocations: 2.022 MB / 0.748 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002791/0.5627, allocations: 92 kB / 0.7481 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003253/0.566, allocations: 1.454 MB / 0.7495 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005096/0.5665, allocations: 0.517 MB / 0.75 GB, free: 220 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00141/0.5679, allocations: 1.33 MB / 0.7513 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004596/0.5725, allocations: 4.368 MB / 0.7556 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5725, allocations: 3.938 kB / 0.7556 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5725, allocations: 0 / 0.7556 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.273e-05/0.5726, allocations: 0 / 0.7556 GB, free: 10.48 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.004046/0.5766, allocations: 2.696 MB / 0.7582 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.5767, allocations: 8.031 kB / 0.7582 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002501/0.5769, allocations: 215.7 kB / 0.7584 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000579/0.5775, allocations: 332.5 kB / 0.7587 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003096/0.5806, allocations: 2.167 MB / 0.7608 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.331e-05/0.5807, allocations: 127 kB / 0.761 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/0.5809, allocations: 176 kB / 0.7611 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002502/0.5834, allocations: 1.612 MB / 0.7627 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.5835, allocations: 0 / 0.7627 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.5836, allocations: 64 kB / 0.7628 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.019e-05/0.5837, allocations: 39.94 kB / 0.7628 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/0.5856, allocations: 1.167 MB / 0.7639 GB, free: 1.684 MB / 0.5762 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.009207/0.5948, allocations: 7.905 MB / 0.7717 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000735/0.5955, allocations: 491.1 kB / 0.7721 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000482/0.596, allocations: 331.5 kB / 0.7724 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005789/0.5966, allocations: 0.7563 MB / 0.7732 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.5966, allocations: 39.12 kB / 0.7732 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.365e-06/0.5967, allocations: 0 / 0.7732 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.001761/0.5984, allocations: 1.004 MB / 0.7742 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.5985, allocations: 59.97 kB / 0.7743 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002708/0.6012, allocations: 2.32 MB / 0.7765 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.932e-05/0.6013, allocations: 49.7 kB / 0.7766 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009014/0.6022, allocations: 1.149 MB / 0.7777 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.6024, allocations: 216.9 kB / 0.7779 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.6025, allocations: 101.7 kB / 0.778 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.6026, allocations: 353.9 kB / 0.7783 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006213/0.6033, allocations: 354.5 kB / 0.7787 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008957/0.6042, allocations: 0.7541 MB / 0.7794 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.6055, allocations: 0.9903 MB / 0.7804 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.6055, allocations: 0 / 0.7804 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002005/0.6075, allocations: 1.311 MB / 0.7817 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001857/0.6077, allocations: 343.4 kB / 0.782 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.6078, allocations: 8 kB / 0.782 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.6078, allocations: 16 kB / 0.782 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008886/0.6087, allocations: 251.8 kB / 0.7822 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.6087, allocations: 23.92 kB / 0.7823 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.6102, allocations: 242.2 kB / 0.7825 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.886e-05/0.6103, allocations: 55.98 kB / 0.7825 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.5e-06/0.6103, allocations: 4 kB / 0.7826 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001593/0.6119, allocations: 1.038 MB / 0.7836 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.6119, allocations: 8 kB / 0.7836 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.6119, allocations: 12 kB / 0.7836 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008286/0.6128, allocations: 252 kB / 0.7838 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.6128, allocations: 23.94 kB / 0.7838 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.6141, allocations: 226.5 kB / 0.7841 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.108e-05/0.6142, allocations: 47.98 kB / 0.7841 GB, free: 11.86 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * 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.0008433/0.615, allocations: 0.5827 MB / 0.7847 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000293/0.6154, allocations: 244.8 kB / 0.7849 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.6169, allocations: 0.8877 MB / 0.7858 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-05/0.617, allocations: 15.98 kB / 0.7858 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.617, allocations: 0 / 0.7858 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001045/0.618, allocations: 0.697 MB / 0.7865 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003542/0.6216, allocations: 2.582 MB / 0.789 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.6216, allocations: 0 / 0.789 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005023/0.6221, allocations: 135.8 kB / 0.7891 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.6221, allocations: 0 / 0.7891 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.882e-05/0.6222, allocations: 19.98 kB / 0.7891 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.6222, allocations: 8.094 kB / 0.7892 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.6222, allocations: 0 / 0.7892 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.624, allocations: 1.333 MB / 0.7905 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006304/0.6247, allocations: 457.8 kB / 0.7909 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/0.6249, allocations: 19.98 kB / 0.7909 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.626, allocations: 111.7 kB / 0.791 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.52e-05/0.6261, allocations: 44.5 kB / 0.7911 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.924e-05/0.6262, allocations: 35.91 kB / 0.7911 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002044/0.6282, allocations: 1.55 MB / 0.7926 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6282, allocations: 0 / 0.7926 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002413/0.6306, allocations: 1.099 MB / 0.7937 GB, free: 1.891 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.003573/0.6342, allocations: 2.53 MB / 0.7962 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002322/0.6366, allocations: 1.365 MB / 0.7975 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.6366, allocations: 4 kB / 0.7975 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005261/0.6371, allocations: 332.3 kB / 0.7978 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006577/0.6437, allocations: 1.4 MB / 0.7992 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02989/0.6736, allocations: 18.23 MB / 0.817 GB, free: 8.633 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/0.6747, allocations: 1.594 MB / 0.8185 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002009/0.6768, allocations: 0.4924 MB / 0.819 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/0.6779, allocations: 0.9601 MB / 0.82 GB, free: 5.555 MB / 0.6387 GB Notification: Performance of SimCode: time 7.41e-07/0.6779, allocations: 3.938 kB / 0.82 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3175/0.9954, allocations: 64.06 MB / 0.8825 GB, free: 183.7 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001546/0.9956, allocations: 264.7 kB / 0.8828 GB, free: 183.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.382/4.377, allocations: 1.094 kB / 0.8828 GB, free: 183.4 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)