Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",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.0009368/0.0009369, 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.005832/0.005832, allocations: 171.2 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.25/1.25, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001695/0.001695, allocations: 270.6 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8972/0.8972, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.000393, allocations: 18.06 kB / 0.5988 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1374, allocations: 88.53 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.3752/0.5126, allocations: 151 MB / 0.8327 GB, free: 4.473 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03342/0.5461, allocations: 30.15 MB / 0.8622 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00482/0.551, allocations: 124 kB / 0.8623 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002374/0.5533, allocations: 0.8217 MB / 0.8631 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008528/0.5619, allocations: 2.894 MB / 0.8659 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005617/0.5675, allocations: 2.302 MB / 0.8682 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008214/0.5757, allocations: 7.393 MB / 0.8754 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002468/0.5782, allocations: 1.852 MB / 0.8772 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004541/0.5828, allocations: 2.368 MB / 0.8795 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002775/0.5856, allocations: 1.902 MB / 0.8813 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002374/0.5858, allocations: 96 kB / 0.8814 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.5877, allocations: 0.9397 MB / 0.8824 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003682/0.5881, allocations: 445.9 kB / 0.8828 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.5892, allocations: 1.148 MB / 0.8839 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002681/0.5919, allocations: 3.129 MB / 0.887 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5919, allocations: 0 / 0.887 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.592, allocations: 0 / 0.887 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.975e-05/0.592, allocations: 0 / 0.887 GB, free: 5.855 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.003599/0.5956, allocations: 2.356 MB / 0.8893 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.5956, allocations: 12.03 kB / 0.8893 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001853/0.5958, allocations: 177.4 kB / 0.8894 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000308/0.5961, allocations: 264.8 kB / 0.8897 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/0.5979, allocations: 1.446 MB / 0.8911 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.495e-05/0.598, allocations: 102.3 kB / 0.8912 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.5982, allocations: 140 kB / 0.8913 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.6, allocations: 1.171 MB / 0.8925 GB, free: 24 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.6, allocations: 3.938 kB / 0.8925 GB, free: 20 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.6001, allocations: 44.08 kB / 0.8925 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.6001, allocations: 28 kB / 0.8926 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/0.6018, allocations: 1.028 MB / 0.8936 GB, free: 14.91 MB / 0.6075 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.007886/0.6096, allocations: 6.342 MB / 0.8998 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008123/0.6105, allocations: 0.5786 MB / 0.9003 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005155/0.611, allocations: 386.4 kB / 0.9007 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003267/0.6113, allocations: 0.507 MB / 0.9012 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.6114, allocations: 47.05 kB / 0.9012 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001154/0.6125, allocations: 330.7 kB / 0.9015 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=58): time 2.665e-06/0.6125, allocations: 4 kB / 0.9015 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58): time 0.001738/0.6143, allocations: 1.129 MB / 0.9026 GB, free: 5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.6143, allocations: 59.97 kB / 0.9027 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/0.6163, allocations: 1.908 MB / 0.9046 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.419e-05/0.6164, allocations: 45.7 kB / 0.9046 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006218/0.617, allocations: 0.9184 MB / 0.9055 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.6171, allocations: 201.1 kB / 0.9057 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.6173, allocations: 121.6 kB / 0.9058 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.6174, allocations: 345.9 kB / 0.9061 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000688/0.6181, allocations: 438.4 kB / 0.9066 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008598/0.619, allocations: 0.669 MB / 0.9072 GB, free: 176 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.6203, allocations: 0.9578 MB / 0.9082 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.6203, allocations: 4 kB / 0.9082 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002008/0.6223, allocations: 1.389 MB / 0.9095 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.3e-05/0.6224, allocations: 194.3 kB / 0.9097 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.6224, allocations: 7.938 kB / 0.9097 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.6225, allocations: 8 kB / 0.9097 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.6236, allocations: 279.6 kB / 0.91 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.6236, allocations: 11.98 kB / 0.91 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.625, allocations: 147.7 kB / 0.9101 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.557e-05/0.6251, allocations: 55.95 kB / 0.9102 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.093e-06/0.6251, allocations: 5.875 kB / 0.9102 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001677/0.6268, allocations: 1.124 MB / 0.9113 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.6268, allocations: 8.312 kB / 0.9113 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.845e-06/0.6268, allocations: 16.03 kB / 0.9113 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009996/0.6278, allocations: 271.6 kB / 0.9116 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.6279, allocations: 11.94 kB / 0.9116 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.6291, allocations: 147.6 kB / 0.9117 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.39e-05/0.6292, allocations: 59.97 kB / 0.9118 GB, free: 11.4 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (144): * Single equations (assignments): 144 * 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.0007366/0.63, allocations: 453.3 kB / 0.9122 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.6302, allocations: 201.4 kB / 0.9124 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/0.632, allocations: 1.075 MB / 0.9135 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.632, allocations: 8 kB / 0.9135 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6321, allocations: 0 / 0.9135 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.6321, allocations: 3.984 kB / 0.9135 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003023/0.6351, allocations: 2.413 MB / 0.9158 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.6351, allocations: 0 / 0.9158 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005252/0.6356, allocations: 143.7 kB / 0.916 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.6357, allocations: 8.188 kB / 0.916 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-05/0.6357, allocations: 19.98 kB / 0.916 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.6357, allocations: 4 kB / 0.916 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.6357, allocations: 7.938 kB / 0.916 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.637, allocations: 1.047 MB / 0.917 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000478/0.6374, allocations: 386.1 kB / 0.9174 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.6376, allocations: 19.98 kB / 0.9174 GB, free: 5.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008326/0.6385, allocations: 91.77 kB / 0.9175 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.767e-05/0.6386, allocations: 60.52 kB / 0.9176 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.22e-05/0.6386, allocations: 24 kB / 0.9176 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001406/0.64, allocations: 1.256 MB / 0.9188 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.64, allocations: 0 / 0.9188 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001734/0.6418, allocations: 0.8926 MB / 0.9197 GB, free: 3.145 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (77): * Single equations (assignments): 74 * 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.001952/0.6437, allocations: 1.848 MB / 0.9215 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002401/0.6462, allocations: 1.579 MB / 0.923 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.6462, allocations: 0 / 0.923 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000706/0.6469, allocations: 408.7 kB / 0.9234 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006067/0.653, allocations: 1.149 MB / 0.9245 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02464/0.6776, allocations: 15.74 MB / 0.9399 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009992/0.6787, allocations: 1.405 MB / 0.9413 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001712/0.6804, allocations: 398.7 kB / 0.9417 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/0.6814, allocations: 0.8312 MB / 0.9425 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of SimCode: time 7.71e-07/0.6814, allocations: 0 / 0.9425 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.552/3.234, allocations: 53.87 MB / 0.9951 GB, free: 5.512 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000299/3.234, allocations: 284.4 kB / 0.9953 GB, free: 5.129 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.586/7.82, allocations: 0 / 0.9953 GB, free: 5.129 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)