Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IBPSA_latest_IBPSA_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.001302/0.001303, allocations: 106.3 kB / 16.4 MB, free: 6.5 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.001005/0.001005, allocations: 192 kB / 17.34 MB, free: 5.727 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7542/0.7542, allocations: 122.9 MB / 414.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 61.58 kB / 0.568 GB, free: 29.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1339, allocations: 77.94 MB / 0.6441 GB, free: 9.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4372/0.5712, allocations: 154.4 MB / 0.7948 GB, free: 30.42 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03342/0.6046, allocations: 30.39 MB / 0.8245 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006689/0.6113, allocations: 141.1 kB / 0.8246 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0028/0.6142, allocations: 1.06 MB / 0.8257 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007081/0.6213, allocations: 3.312 MB / 0.8289 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005028/0.6263, allocations: 2.526 MB / 0.8314 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006125/0.6325, allocations: 5.402 MB / 0.8366 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003051/0.6356, allocations: 2.247 MB / 0.8388 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005402/0.641, allocations: 2.759 MB / 0.8415 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003051/0.644, allocations: 1.961 MB / 0.8434 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005734/0.6446, allocations: 216 kB / 0.8436 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002824/0.6475, allocations: 1.088 MB / 0.8447 GB, free: 9 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005728/0.6481, allocations: 0.5526 MB / 0.8452 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001602/0.6497, allocations: 1.275 MB / 0.8465 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004067/0.6538, allocations: 3.345 MB / 0.8498 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.6538, allocations: 0 / 0.8498 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6538, allocations: 4 kB / 0.8498 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.332e-05/0.6538, allocations: 0 / 0.8498 GB, free: 3.805 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.004639/0.6585, allocations: 2.866 MB / 0.8526 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.6585, allocations: 8.625 kB / 0.8526 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001872/0.6587, allocations: 173.4 kB / 0.8527 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000418/0.6591, allocations: 278.3 kB / 0.853 GB, free: 424 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00241/0.6616, allocations: 1.537 MB / 0.8545 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.128e-05/0.6616, allocations: 114.3 kB / 0.8546 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/0.6619, allocations: 140 kB / 0.8547 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.6639, allocations: 1.156 MB / 0.8559 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.6639, allocations: 3.938 kB / 0.8559 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.664, allocations: 48 kB / 0.8559 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.664, allocations: 28 kB / 0.8559 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/0.6658, allocations: 1.013 MB / 0.8569 GB, free: 12.27 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.009038/0.6749, allocations: 6.32 MB / 0.8631 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009223/0.6758, allocations: 0.5768 MB / 0.8637 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005641/0.6764, allocations: 386.8 kB / 0.864 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003834/0.6768, allocations: 0.5031 MB / 0.8645 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.6768, allocations: 35.12 kB / 0.8646 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001168/0.678, allocations: 235.3 kB / 0.8648 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=58): time 4.138e-06/0.678, allocations: 3.984 kB / 0.8648 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58): time 0.001994/0.68, allocations: 1.181 MB / 0.8659 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.68, allocations: 55.97 kB / 0.866 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002218/0.6823, allocations: 1.904 MB / 0.8679 GB, free: 456 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.982e-05/0.6824, allocations: 41.7 kB / 0.8679 GB, free: 408 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007495/0.6831, allocations: 0.9314 MB / 0.8688 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.6833, allocations: 214.1 kB / 0.869 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004172/0.6837, allocations: 302.6 kB / 0.8693 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.6838, allocations: 353.9 kB / 0.8696 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007705/0.6846, allocations: 457.9 kB / 0.8701 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009833/0.6856, allocations: 0.6801 MB / 0.8707 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.6871, allocations: 0.9774 MB / 0.8717 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.6871, allocations: 0 / 0.8717 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002293/0.6894, allocations: 1.417 MB / 0.8731 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.6895, allocations: 4 kB / 0.8731 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.6895, allocations: 4 kB / 0.8731 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.6895, allocations: 8 kB / 0.8731 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.6907, allocations: 283.5 kB / 0.8734 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.6908, allocations: 15.88 kB / 0.8734 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.6921, allocations: 76.2 kB / 0.8734 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.6922, allocations: 59.95 kB / 0.8735 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001158/0.6933, allocations: 0.7134 MB / 0.8742 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009253/0.6943, allocations: 0.6567 MB / 0.8748 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001409/0.6957, allocations: 0.9227 MB / 0.8757 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.895e-06/0.6957, allocations: 0 / 0.8757 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002192/0.6979, allocations: 1.358 MB / 0.8771 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.6979, allocations: 8.375 kB / 0.8771 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6979, allocations: 11.98 kB / 0.8771 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.698, allocations: 8 kB / 0.8771 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.6991, allocations: 271.5 kB / 0.8774 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.6991, allocations: 8 kB / 0.8774 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.7005, allocations: 95.84 kB / 0.8775 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-05/0.7006, allocations: 55.95 kB / 0.8775 GB, free: 6.266 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.0002809/0.7009, allocations: 239.3 kB / 0.8777 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002906/0.7012, allocations: 214.6 kB / 0.8779 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002002/0.7032, allocations: 1.091 MB / 0.879 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.7032, allocations: 12 kB / 0.879 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.7032, allocations: 3.938 kB / 0.879 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.7032, allocations: 3.984 kB / 0.879 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003445/0.7067, allocations: 2.449 MB / 0.8814 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.7067, allocations: 0 / 0.8814 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006109/0.7073, allocations: 131.9 kB / 0.8815 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/0.7073, allocations: 8.125 kB / 0.8816 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.299e-05/0.7074, allocations: 24 kB / 0.8816 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.7074, allocations: 4 kB / 0.8816 GB, free: 2.008 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-05/0.7074, allocations: 4 kB / 0.8816 GB, free: 2.004 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/0.7089, allocations: 1.079 MB / 0.8826 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005739/0.7095, allocations: 375.5 kB / 0.883 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/0.7097, allocations: 12 kB / 0.883 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007793/0.7105, allocations: 43.95 kB / 0.883 GB, free: 460 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.7106, allocations: 44.59 kB / 0.8831 GB, free: 416 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.436e-05/0.7107, allocations: 27.98 kB / 0.8831 GB, free: 388 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001543/0.7122, allocations: 1.248 MB / 0.8843 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7122, allocations: 0 / 0.8843 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001935/0.7142, allocations: 0.8968 MB / 0.8852 GB, free: 14.22 MB / 0.6387 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.002211/0.7164, allocations: 1.882 MB / 0.887 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002597/0.719, allocations: 1.621 MB / 0.8886 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.719, allocations: 0 / 0.8886 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006161/0.7197, allocations: 413 kB / 0.889 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004245/0.7239, allocations: 1.082 MB / 0.8901 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01771/0.7416, allocations: 13.18 MB / 0.903 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008649/0.7425, allocations: 1.405 MB / 0.9043 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001556/0.7441, allocations: 412 kB / 0.9047 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/0.7451, allocations: 0.8312 MB / 0.9055 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of SimCode: time 6.21e-07/0.7451, allocations: 0 / 0.9055 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09726/0.8424, allocations: 56.03 MB / 0.9602 GB, free: 1.656 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.8, allocations: 12.03 kB / 0.9603 GB, free: 1.645 MB / 0.7012 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)