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.001068/0.001068, allocations: 103.3 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.001177/0.001177, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6953/0.6953, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 66.34 kB / 0.5572 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1413, allocations: 76.18 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.497/0.6383, allocations: 154.3 MB / 0.7823 GB, free: 33.26 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03655/0.6749, allocations: 30.4 MB / 0.812 GB, free: 25.37 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006064/0.681, allocations: 141.7 kB / 0.8121 GB, free: 25.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003024/0.6841, allocations: 1.044 MB / 0.8132 GB, free: 24.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00837/0.6925, allocations: 3.164 MB / 0.8162 GB, free: 21.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005512/0.6981, allocations: 2.514 MB / 0.8187 GB, free: 19.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006427/0.7045, allocations: 5.398 MB / 0.824 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003052/0.7076, allocations: 2.233 MB / 0.8262 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005554/0.7132, allocations: 2.743 MB / 0.8288 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003401/0.7166, allocations: 1.964 MB / 0.8308 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005702/0.7172, allocations: 216 kB / 0.831 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002494/0.7197, allocations: 1.092 MB / 0.832 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000534/0.7203, allocations: 0.5565 MB / 0.8326 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0017/0.722, allocations: 1.271 MB / 0.8338 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003998/0.726, allocations: 3.317 MB / 0.8371 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.726, allocations: 0 / 0.8371 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7261, allocations: 4 kB / 0.8371 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.516e-05/0.7261, allocations: 0 / 0.8371 GB, free: 5.59 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.00502/0.7311, allocations: 2.801 MB / 0.8398 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.7312, allocations: 8.031 kB / 0.8398 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002048/0.7314, allocations: 173.4 kB / 0.84 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004777/0.7319, allocations: 264.8 kB / 0.8402 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002476/0.7344, allocations: 1.512 MB / 0.8417 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.083e-05/0.7345, allocations: 106.3 kB / 0.8418 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/0.7347, allocations: 147.9 kB / 0.8419 GB, free: 452 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/0.7368, allocations: 1.156 MB / 0.8431 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.23e-05/0.7368, allocations: 3.938 kB / 0.8431 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.7369, allocations: 48 kB / 0.8431 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.737, allocations: 28 kB / 0.8431 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.7389, allocations: 1.013 MB / 0.8441 GB, free: 14.16 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.01143/0.7503, allocations: 6.314 MB / 0.8503 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.7514, allocations: 0.5714 MB / 0.8509 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000577/0.752, allocations: 392.3 kB / 0.8512 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003905/0.7524, allocations: 0.4992 MB / 0.8517 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.7524, allocations: 39.11 kB / 0.8517 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001407/0.7538, allocations: 230.8 kB / 0.852 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 5.921e-06/0.7539, allocations: 0 / 0.852 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.002351/0.7562, allocations: 1.168 MB / 0.8531 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.7563, allocations: 55.97 kB / 0.8532 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002543/0.7588, allocations: 1.908 MB / 0.855 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001731/0.759, allocations: 41.7 kB / 0.8551 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000723/0.7598, allocations: 0.9144 MB / 0.856 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000214/0.76, allocations: 209 kB / 0.8562 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000435/0.7604, allocations: 302.5 kB / 0.8564 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.7606, allocations: 345.9 kB / 0.8568 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000806/0.7614, allocations: 461.8 kB / 0.8572 GB, free: 88 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.7624, allocations: 0.6801 MB / 0.8579 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/0.764, allocations: 0.9774 MB / 0.8588 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.764, allocations: 0 / 0.8588 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00266/0.7667, allocations: 1.412 MB / 0.8602 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.7667, allocations: 4 kB / 0.8602 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.7667, allocations: 7.984 kB / 0.8602 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.7668, allocations: 8 kB / 0.8602 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.768, allocations: 279.5 kB / 0.8605 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.139e-05/0.768, allocations: 15.92 kB / 0.8605 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.7696, allocations: 72.25 kB / 0.8606 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.7697, allocations: 63.94 kB / 0.8606 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001245/0.771, allocations: 0.7095 MB / 0.8613 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008917/0.7719, allocations: 0.664 MB / 0.862 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001376/0.7733, allocations: 0.9188 MB / 0.8629 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.858e-06/0.7733, allocations: 0 / 0.8629 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002361/0.7757, allocations: 1.349 MB / 0.8642 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.7757, allocations: 10.25 kB / 0.8642 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.7757, allocations: 8 kB / 0.8642 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.7757, allocations: 8 kB / 0.8642 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.7769, allocations: 271.6 kB / 0.8645 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/0.7769, allocations: 15.92 kB / 0.8645 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.7785, allocations: 91.86 kB / 0.8646 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.7786, allocations: 59.94 kB / 0.8646 GB, free: 8.219 MB / 0.6075 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.0002913/0.7789, allocations: 232 kB / 0.8649 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003433/0.7793, allocations: 201.5 kB / 0.8651 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/0.7813, allocations: 1.096 MB / 0.8661 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.7813, allocations: 8 kB / 0.8661 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.7814, allocations: 3.938 kB / 0.8661 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.7814, allocations: 3.984 kB / 0.8661 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003633/0.785, allocations: 2.453 MB / 0.8685 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.7851, allocations: 0 / 0.8685 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005884/0.7856, allocations: 135.8 kB / 0.8687 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.7857, allocations: 8.188 kB / 0.8687 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-05/0.7857, allocations: 19.98 kB / 0.8687 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/0.7857, allocations: 11.94 kB / 0.8687 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.7857, allocations: 4 kB / 0.8687 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.7873, allocations: 1.074 MB / 0.8698 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006764/0.788, allocations: 354.4 kB / 0.8701 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/0.7882, allocations: 12 kB / 0.8701 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000822/0.789, allocations: 39.95 kB / 0.8701 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.7892, allocations: 48.59 kB / 0.8702 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.437e-05/0.7892, allocations: 27.98 kB / 0.8702 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001698/0.7909, allocations: 1.252 MB / 0.8714 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7909, allocations: 0 / 0.8714 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002236/0.7932, allocations: 0.8964 MB / 0.8723 GB, free: 232 kB / 0.6075 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.002483/0.7957, allocations: 1.853 MB / 0.8741 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002769/0.7985, allocations: 1.621 MB / 0.8757 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.7985, allocations: 0 / 0.8757 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006254/0.7991, allocations: 413 kB / 0.8761 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00468/0.8038, allocations: 1.087 MB / 0.8772 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01847/0.8223, allocations: 13.08 MB / 0.8899 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009423/0.8233, allocations: 1.405 MB / 0.8913 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001677/0.825, allocations: 398.5 kB / 0.8917 GB, free: 12 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/0.8261, allocations: 0.8342 MB / 0.8925 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of SimCode: time 1.082e-06/0.8261, allocations: 0 / 0.8925 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.096/0.9221, allocations: 57.01 MB / 0.9482 GB, free: 2.777 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.34, allocations: 12.61 kB / 0.9482 GB, free: 2.77 MB / 0.6856 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)