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.001132/0.001132, allocations: 102.9 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.001195/0.001195, allocations: 193.2 kB / 17.34 MB, free: 5.738 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7039/0.7039, allocations: 115.3 MB / 406.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.59 kB / 0.5572 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1337, allocations: 76.17 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.4717/0.6054, allocations: 154.4 MB / 0.7823 GB, free: 33.54 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03629/0.6418, allocations: 30.39 MB / 0.812 GB, free: 25.4 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00835/0.6502, allocations: 141.3 kB / 0.8121 GB, free: 25.35 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003135/0.6534, allocations: 1.039 MB / 0.8132 GB, free: 24.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007991/0.6614, allocations: 3.17 MB / 0.8163 GB, free: 21.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005328/0.6668, allocations: 2.513 MB / 0.8187 GB, free: 20.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006383/0.6732, allocations: 5.394 MB / 0.824 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002576/0.6758, allocations: 2.231 MB / 0.8262 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004287/0.6801, allocations: 2.746 MB / 0.8288 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002578/0.6827, allocations: 1.962 MB / 0.8308 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003085/0.683, allocations: 212 kB / 0.831 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.685, allocations: 1.1 MB / 0.832 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003813/0.6854, allocations: 0.5565 MB / 0.8326 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.6865, allocations: 1.271 MB / 0.8338 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002909/0.6894, allocations: 3.317 MB / 0.8371 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.6894, allocations: 0 / 0.8371 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6894, allocations: 0 / 0.8371 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.184e-05/0.6895, allocations: 0 / 0.8371 GB, free: 5.637 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.00388/0.6934, allocations: 2.795 MB / 0.8398 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.6934, allocations: 12.03 kB / 0.8398 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001517/0.6936, allocations: 181.4 kB / 0.84 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003171/0.6939, allocations: 260.8 kB / 0.8402 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.6957, allocations: 1.512 MB / 0.8417 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.022e-05/0.6957, allocations: 106.3 kB / 0.8418 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.6959, allocations: 140 kB / 0.8419 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.6976, allocations: 1.159 MB / 0.8431 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.6977, allocations: 3.938 kB / 0.8431 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.6978, allocations: 44 kB / 0.8431 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.6978, allocations: 32 kB / 0.8431 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.6996, allocations: 1.013 MB / 0.8441 GB, free: 14.21 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.009794/0.7094, allocations: 6.317 MB / 0.8503 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000932/0.7104, allocations: 0.5713 MB / 0.8509 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000568/0.7109, allocations: 390.8 kB / 0.8512 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004095/0.7114, allocations: 0.5031 MB / 0.8517 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.7114, allocations: 43.12 kB / 0.8518 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001299/0.7127, allocations: 230.8 kB / 0.852 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 3.266e-06/0.7127, allocations: 0 / 0.852 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.002008/0.7147, allocations: 1.164 MB / 0.8531 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.7148, allocations: 59.97 kB / 0.8532 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/0.717, allocations: 1.9 MB / 0.855 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.595e-05/0.7171, allocations: 53.64 kB / 0.8551 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007776/0.7178, allocations: 0.9157 MB / 0.856 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.718, allocations: 209 kB / 0.8562 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003869/0.7184, allocations: 298.5 kB / 0.8565 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.7185, allocations: 349.9 kB / 0.8568 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007188/0.7193, allocations: 449.9 kB / 0.8572 GB, free: 132 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009388/0.7202, allocations: 0.6801 MB / 0.8579 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.7217, allocations: 0.9774 MB / 0.8588 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.7217, allocations: 4 kB / 0.8588 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002221/0.7239, allocations: 1.4 MB / 0.8602 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.724, allocations: 8 kB / 0.8602 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.724, allocations: 4.375 kB / 0.8602 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.724, allocations: 12 kB / 0.8602 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.7252, allocations: 279.5 kB / 0.8605 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.078e-05/0.7253, allocations: 11.94 kB / 0.8605 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.7266, allocations: 75.92 kB / 0.8606 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.94e-05/0.7267, allocations: 63.95 kB / 0.8606 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001122/0.7278, allocations: 0.7062 MB / 0.8613 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000868/0.7287, allocations: 0.6566 MB / 0.862 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001314/0.73, allocations: 0.9188 MB / 0.8629 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.17e-06/0.73, allocations: 7.984 kB / 0.8629 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002112/0.7321, allocations: 1.353 MB / 0.8642 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.7322, allocations: 4 kB / 0.8642 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.7322, allocations: 4 kB / 0.8642 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.7322, allocations: 8 kB / 0.8642 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.7333, allocations: 275.5 kB / 0.8645 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.7333, allocations: 8 kB / 0.8645 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.7347, allocations: 104.2 kB / 0.8646 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.029e-05/0.7348, allocations: 51.95 kB / 0.8646 GB, free: 8.27 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.0003173/0.7351, allocations: 240 kB / 0.8649 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002805/0.7354, allocations: 197.5 kB / 0.8651 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001999/0.7374, allocations: 1.088 MB / 0.8661 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.7374, allocations: 19.92 kB / 0.8661 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.7374, allocations: 3.938 kB / 0.8661 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.7375, allocations: 7.922 kB / 0.8661 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003454/0.7409, allocations: 2.445 MB / 0.8685 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.7409, allocations: 3.938 kB / 0.8685 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006041/0.7416, allocations: 127.9 kB / 0.8687 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/0.7416, allocations: 8 kB / 0.8687 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.484e-05/0.7416, allocations: 19.92 kB / 0.8687 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.7416, allocations: 8 kB / 0.8687 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.7416, allocations: 0 / 0.8687 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.7431, allocations: 1.078 MB / 0.8697 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005789/0.7437, allocations: 350.4 kB / 0.8701 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002771/0.744, allocations: 23.98 kB / 0.8701 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007945/0.7448, allocations: 31.97 kB / 0.8701 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.7449, allocations: 52.58 kB / 0.8702 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.7449, allocations: 20 kB / 0.8702 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001831/0.7468, allocations: 1.256 MB / 0.8714 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7468, allocations: 4 kB / 0.8714 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002078/0.7489, allocations: 0.8925 MB / 0.8723 GB, free: 284 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.002322/0.7512, allocations: 1.865 MB / 0.8741 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002752/0.754, allocations: 1.615 MB / 0.8757 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.754, allocations: 4.062 kB / 0.8757 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006019/0.7546, allocations: 411.5 kB / 0.8761 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004184/0.7588, allocations: 1.082 MB / 0.8772 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02269/0.7815, allocations: 13.09 MB / 0.8899 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001404/0.7829, allocations: 1.405 MB / 0.8913 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001933/0.7849, allocations: 401.6 kB / 0.8917 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/0.7862, allocations: 0.839 MB / 0.8925 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of SimCode: time 8.01e-07/0.7862, allocations: 0 / 0.8925 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1006/0.8868, allocations: 57.01 MB / 0.9482 GB, free: 2.824 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/12.3, allocations: 11.77 kB / 0.9482 GB, free: 2.812 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)