Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",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.001153/0.001153, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001597/0.001598, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 223.2 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.122/1.122, allocations: 143.4 MB / 434.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004317/0.0004318, allocations: 8 kB / 0.5161 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2326, allocations: 83.42 MB / 0.5975 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.4804/0.7131, allocations: 28.27 MB / 0.6252 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0116/0.7248, allocations: 10.15 MB / 0.6351 GB, free: 21.05 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.7263, allocations: 23.62 kB / 0.6351 GB, free: 21.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.7274, allocations: 274.5 kB / 0.6354 GB, free: 20.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00306/0.7304, allocations: 0.9297 MB / 0.6363 GB, free: 20.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.7328, allocations: 0.711 MB / 0.637 GB, free: 20 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002908/0.7357, allocations: 2.402 MB / 0.6393 GB, free: 19.03 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008346/0.7365, allocations: 0.5243 MB / 0.6398 GB, free: 18.83 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001889/0.7384, allocations: 0.831 MB / 0.6406 GB, free: 18.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.7398, allocations: 0.6292 MB / 0.6412 GB, free: 18.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001851/0.74, allocations: 30.16 kB / 0.6413 GB, free: 18.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.7418, allocations: 0.5193 MB / 0.6418 GB, free: 18.08 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002813/0.7421, allocations: 133.8 kB / 0.6419 GB, free: 18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005096/0.7426, allocations: 179 kB / 0.6421 GB, free: 17.9 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001506/0.7441, allocations: 0.7832 MB / 0.6428 GB, free: 17.71 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.7441, allocations: 0 / 0.6428 GB, free: 17.71 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7441, allocations: 0 / 0.6428 GB, free: 17.71 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.138e-05/0.7442, allocations: 0 / 0.6428 GB, free: 17.71 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002445/0.7466, allocations: 1.035 MB / 0.6438 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.349e-05/0.7467, allocations: 10.5 kB / 0.6439 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001719/0.7469, allocations: 92.8 kB / 0.6439 GB, free: 16.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002373/0.7471, allocations: 92.84 kB / 0.644 GB, free: 16.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.7482, allocations: 0.5322 MB / 0.6446 GB, free: 16.47 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.054e-05/0.7482, allocations: 44.69 kB / 0.6446 GB, free: 16.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.214e-05/0.7483, allocations: 57.19 kB / 0.6447 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008564/0.7492, allocations: 409.2 kB / 0.645 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.7492, allocations: 0 / 0.645 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.7493, allocations: 22.88 kB / 0.6451 GB, free: 16.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.7493, allocations: 8.594 kB / 0.6451 GB, free: 16.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006116/0.7499, allocations: 311.4 kB / 0.6454 GB, free: 16.16 MB / 0.4981 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.003115/0.753, allocations: 1.865 MB / 0.6472 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/0.7534, allocations: 170.4 kB / 0.6474 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.7536, allocations: 86.73 kB / 0.6474 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002504/0.7538, allocations: 347 kB / 0.6478 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.7539, allocations: 30.56 kB / 0.6478 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 2.275e-06/0.7539, allocations: 0 / 0.6478 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.0007545/0.7546, allocations: 324.1 kB / 0.6481 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.7547, allocations: 54.03 kB / 0.6482 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008389/0.7555, allocations: 0.6841 MB / 0.6488 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/0.7556, allocations: 32.75 kB / 0.6489 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.7559, allocations: 365.8 kB / 0.6492 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.857e-05/0.7559, allocations: 66.39 kB / 0.6493 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/0.756, allocations: 11 kB / 0.6493 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.7561, allocations: 376.7 kB / 0.6496 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.7563, allocations: 103.1 kB / 0.6497 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.7566, allocations: 177.2 kB / 0.6499 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.7569, allocations: 131 kB / 0.65 GB, free: 13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.7569, allocations: 0 / 0.65 GB, free: 13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006966/0.7576, allocations: 390.9 kB / 0.6504 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.909e-05/0.7577, allocations: 118 kB / 0.6505 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.7577, allocations: 0.9375 kB / 0.6505 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.7578, allocations: 6.75 kB / 0.6505 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009389/0.7587, allocations: 162.1 kB / 0.6507 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009242/0.7596, allocations: 2.359 MB / 0.653 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000705/0.7604, allocations: 87.47 kB / 0.6531 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.397e-05/0.7604, allocations: 23.03 kB / 0.6531 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.7604, allocations: 3.531 kB / 0.6531 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005925/0.761, allocations: 301 kB / 0.6534 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.7611, allocations: 0 / 0.6534 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/0.7611, allocations: 2.531 kB / 0.6534 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004069/0.7615, allocations: 100.5 kB / 0.6535 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.7615, allocations: 2.562 kB / 0.6535 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005722/0.7621, allocations: 83.91 kB / 0.6536 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.7621, allocations: 12.7 kB / 0.6536 GB, free: 10.15 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003255/0.7625, allocations: 266.3 kB / 0.6538 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.7626, allocations: 70.3 kB / 0.6539 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006818/0.7633, allocations: 316.1 kB / 0.6542 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.7633, allocations: 9.734 kB / 0.6542 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/0.7633, allocations: 1.812 kB / 0.6542 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.7633, allocations: 0 / 0.6542 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.7648, allocations: 0.8998 MB / 0.6551 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.7649, allocations: 1.406 kB / 0.6551 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003326/0.7652, allocations: 80.33 kB / 0.6552 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.627e-06/0.7652, allocations: 6.078 kB / 0.6552 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.7652, allocations: 9.938 kB / 0.6552 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007204/0.766, allocations: 2.358 MB / 0.6575 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.766, allocations: 1.375 kB / 0.6575 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006144/0.7666, allocations: 407.9 kB / 0.6579 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002879/0.7669, allocations: 180.3 kB / 0.658 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.767, allocations: 6.75 kB / 0.658 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004394/0.7675, allocations: 48.19 kB / 0.6581 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.245e-05/0.7676, allocations: 23.52 kB / 0.6581 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.7676, allocations: 9.656 kB / 0.6581 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008203/0.7684, allocations: 469.7 kB / 0.6586 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.01e-07/0.7684, allocations: 0 / 0.6586 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001513/0.77, allocations: 357.1 kB / 0.6589 GB, free: 6.094 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001547/0.7715, allocations: 1.081 MB / 0.66 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001814/0.7733, allocations: 0.498 MB / 0.6605 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.7734, allocations: 0 / 0.6605 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003996/0.7738, allocations: 143.6 kB / 0.6606 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/0.7758, allocations: 380.5 kB / 0.661 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007807/0.7836, allocations: 3.546 MB / 0.6644 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005702/0.7842, allocations: 0.9415 MB / 0.6653 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007382/0.785, allocations: 122.5 kB / 0.6655 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003532/0.7853, allocations: 251.5 kB / 0.6657 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of SimCode: time 1.203e-06/0.7853, allocations: 0 / 0.6657 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05798/0.8433, allocations: 18.59 MB / 0.6839 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000358/0.8438, allocations: 289.1 kB / 0.6841 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.444/3.288, allocations: 0 / 0.6841 GB, free: 13.94 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) Environment - environmentSimulation: