Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00099/0.00099, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4771/0.4771, allocations: 90.91 MB / 99.34 MB, free: 2.164 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 221.5 MB / 343.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009237/0.0009237, allocations: 94.39 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.337e-05/2.336e-05, allocations: 7.688 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1403, allocations: 72.3 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.068/1.208, allocations: 348.4 MB / 0.8938 GB, free: 131.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/1.209, allocations: 86.27 kB / 0.8939 GB, free: 131.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.419/2.628, allocations: 414.9 MB / 1.299 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.914e-06/2.628, allocations: 0 / 1.299 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001062/2.628, allocations: 26.62 kB / 1.299 GB, free: 104.9 MB / 0.5886 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.002117/2.63, allocations: 1.044 MB / 1.3 GB, free: 104.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/2.63, allocations: 11 kB / 1.3 GB, free: 104.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002936/2.63, allocations: 100.1 kB / 1.3 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/2.632, allocations: 0.571 MB / 1.301 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/2.632, allocations: 15.61 kB / 1.301 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.475e-05/2.632, allocations: 36.59 kB / 1.301 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004535/2.632, allocations: 241.8 kB / 1.301 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005033/2.633, allocations: 307.7 kB / 1.301 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/2.633, allocations: 5.797 kB / 1.301 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/2.633, allocations: 0 / 1.301 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/2.633, allocations: 14.91 kB / 1.301 GB, free: 104.1 MB / 0.5886 GB Warning: The model contains alias variables with conflicting start and/or 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.002567/2.635, allocations: 1.74 MB / 1.303 GB, free: 103.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/2.636, allocations: 156 kB / 1.303 GB, free: 103.3 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.053e-05/2.636, allocations: 68.09 kB / 1.303 GB, free: 103.3 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002331/2.636, allocations: 340.1 kB / 1.304 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/2.636, allocations: 34.41 kB / 1.304 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=19): time 1.432e-06/2.636, allocations: 0 / 1.304 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19): time 0.0005148/2.636, allocations: 222.7 kB / 1.304 GB, free: 102.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/2.637, allocations: 54.34 kB / 1.304 GB, free: 102.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005035/2.637, allocations: 490.3 kB / 1.304 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/2.637, allocations: 29.61 kB / 1.304 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/2.637, allocations: 365.8 kB / 1.305 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/2.637, allocations: 62.73 kB / 1.305 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.708e-05/2.637, allocations: 2.438 kB / 1.305 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.298e-05/2.637, allocations: 367.1 kB / 1.305 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/2.638, allocations: 82.77 kB / 1.305 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/2.638, allocations: 200.1 kB / 1.305 GB, free: 102 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/2.638, allocations: 116.9 kB / 1.306 GB, free: 102 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/2.638, allocations: 0 / 1.306 GB, free: 102 MB / 0.5886 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005149/2.639, allocations: 342.1 kB / 1.306 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.017e-05/2.639, allocations: 271.3 kB / 1.306 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/2.639, allocations: 1.812 kB / 1.306 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/2.639, allocations: 3.594 kB / 1.306 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000895/2.64, allocations: 139.1 kB / 1.306 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008955/2.64, allocations: 2.39 MB / 1.309 GB, free: 99.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00062/2.641, allocations: 73.42 kB / 1.309 GB, free: 99.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/2.641, allocations: 20.5 kB / 1.309 GB, free: 99.27 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/2.641, allocations: 3.969 kB / 1.309 GB, free: 99.27 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004047/2.642, allocations: 225.4 kB / 1.309 GB, free: 99.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/2.642, allocations: 0 / 1.309 GB, free: 99.27 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-06/2.642, allocations: 3.938 kB / 1.309 GB, free: 99.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/2.642, allocations: 102.9 kB / 1.309 GB, free: 99.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/2.642, allocations: 3.906 kB / 1.309 GB, free: 99.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005507/2.643, allocations: 66.66 kB / 1.309 GB, free: 99.26 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/2.643, allocations: 22.31 kB / 1.309 GB, free: 99.26 MB / 0.5886 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 () * 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.0001122/2.643, allocations: 118.5 kB / 1.309 GB, free: 99.15 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003315/2.643, allocations: 198.1 kB / 1.309 GB, free: 99.08 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.427e-05/2.643, allocations: 60.22 kB / 1.309 GB, free: 99.05 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000511/2.644, allocations: 262.1 kB / 1.31 GB, free: 99 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/2.644, allocations: 0 / 1.31 GB, free: 99 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/2.644, allocations: 3.844 kB / 1.31 GB, free: 99 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/2.644, allocations: 2.938 kB / 1.31 GB, free: 99 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/2.645, allocations: 0.7907 MB / 1.311 GB, free: 98.69 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/2.645, allocations: 0 / 1.311 GB, free: 98.69 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000294/2.645, allocations: 81.38 kB / 1.311 GB, free: 98.68 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/2.645, allocations: 3.094 kB / 1.311 GB, free: 98.68 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/2.645, allocations: 7.344 kB / 1.311 GB, free: 98.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000705/2.646, allocations: 2.351 MB / 1.313 GB, free: 96.35 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/2.646, allocations: 3.891 kB / 1.313 GB, free: 96.35 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/2.646, allocations: 401.6 kB / 1.313 GB, free: 96.08 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/2.647, allocations: 166.1 kB / 1.313 GB, free: 95.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.441e-05/2.647, allocations: 3.812 kB / 1.313 GB, free: 95.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/2.647, allocations: 52.8 kB / 1.313 GB, free: 95.95 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/2.647, allocations: 18.53 kB / 1.314 GB, free: 95.95 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/2.647, allocations: 10.88 kB / 1.314 GB, free: 95.95 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003565/2.647, allocations: 374.6 kB / 1.314 GB, free: 95.86 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.71e-07/2.647, allocations: 0 / 1.314 GB, free: 95.86 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001051/2.649, allocations: 385.6 kB / 1.314 GB, free: 95.82 MB / 0.5886 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 () * 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.001372/2.65, allocations: 1.584 MB / 1.316 GB, free: 94.71 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001103/2.651, allocations: 418.3 kB / 1.316 GB, free: 94.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/2.651, allocations: 2.375 kB / 1.316 GB, free: 94.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002698/2.651, allocations: 107.7 kB / 1.316 GB, free: 94.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/2.653, allocations: 282.9 kB / 1.317 GB, free: 94.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/2.655, allocations: 0.8717 MB / 1.317 GB, free: 94.34 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/2.655, allocations: 0.9461 MB / 1.318 GB, free: 93.64 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0005829/2.655, allocations: 129 kB / 1.318 GB, free: 93.63 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/2.656, allocations: 248.1 kB / 1.319 GB, free: 93.62 MB / 0.5886 GB Notification: Performance of SimCode: time 2.41e-07/2.656, allocations: 2.734 kB / 1.319 GB, free: 93.62 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.041/2.697, allocations: 17.94 MB / 1.336 GB, free: 93.08 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/2.697, allocations: 190.2 kB / 1.336 GB, free: 92.89 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.529/5.226, allocations: 0 / 1.336 GB, free: 92.89 MB / 0.5886 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)