Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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: 111.3 kB / 15.23 MB, free: 0.6406 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.001062/0.001062, allocations: 193.5 kB / 16.14 MB, free: 6.707 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.242/1.242, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7178/0.7178, allocations: 132.2 MB / 422.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 64.5 kB / 0.5012 GB, free: 9.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1223, allocations: 80.21 MB / 0.5795 GB, free: 9.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01459/0.137, allocations: 17.41 MB / 0.5965 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005076/0.1421, allocations: 4.933 MB / 0.6013 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.1423, allocations: 15.88 kB / 0.6013 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000555/0.1428, allocations: 207 kB / 0.6015 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008844/0.1437, allocations: 0.5629 MB / 0.6021 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.1449, allocations: 0.6399 MB / 0.6027 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009702/0.1459, allocations: 1.271 MB / 0.6039 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2002/0.3461, allocations: 290.6 kB / 0.6042 GB, free: 36.28 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007351/0.3469, allocations: 382.9 kB / 0.6046 GB, free: 36.28 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004005/0.3473, allocations: 318.6 kB / 0.6049 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.413e-05/0.3474, allocations: 19.12 kB / 0.6049 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.3484, allocations: 0.7032 MB / 0.6056 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.3486, allocations: 119.8 kB / 0.6057 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.3488, allocations: 229.9 kB / 0.6059 GB, free: 36.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009334/0.3497, allocations: 0.8658 MB / 0.6068 GB, free: 36.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.3497, allocations: 0 / 0.6068 GB, free: 36.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.51e-07/0.3497, allocations: 0 / 0.6068 GB, free: 36.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.3497, allocations: 0.7812 kB / 0.6068 GB, free: 36.09 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00103/0.3508, allocations: 0.8797 MB / 0.6076 GB, free: 35.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.3508, allocations: 10.44 kB / 0.6076 GB, free: 35.5 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.506e-05/0.3509, allocations: 61.25 kB / 0.6077 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.351, allocations: 62.44 kB / 0.6078 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004395/0.3515, allocations: 438.4 kB / 0.6082 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.3515, allocations: 27.56 kB / 0.6082 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.3515, allocations: 26.88 kB / 0.6082 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.3519, allocations: 286.4 kB / 0.6085 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.352, allocations: 0 / 0.6085 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.352, allocations: 14.06 kB / 0.6085 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.352, allocations: 8.875 kB / 0.6085 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000347/0.3524, allocations: 193.5 kB / 0.6087 GB, free: 35.1 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.001331/0.3537, allocations: 1.486 MB / 0.6102 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.354, allocations: 157.4 kB / 0.6103 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.3541, allocations: 88.73 kB / 0.6104 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/0.3553, allocations: 1.275 MB / 0.6116 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.3553, allocations: 41.62 kB / 0.6117 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.3553, allocations: 0 / 0.6117 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005338/0.3559, allocations: 241.4 kB / 0.6119 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/0.3559, allocations: 56.97 kB / 0.612 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000466/0.3564, allocations: 0.5836 MB / 0.6125 GB, free: 32.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.3564, allocations: 32.77 kB / 0.6126 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.3565, allocations: 271.9 kB / 0.6128 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.3565, allocations: 53.88 kB / 0.6129 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.886e-05/0.3566, allocations: 70.64 kB / 0.613 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.38e-05/0.3567, allocations: 360.2 kB / 0.6133 GB, free: 32.24 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.3569, allocations: 78.78 kB / 0.6134 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.3571, allocations: 210 kB / 0.6136 GB, free: 32.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/0.3574, allocations: 235.4 kB / 0.6138 GB, free: 32.01 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.3574, allocations: 0 / 0.6138 GB, free: 32.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004804/0.3579, allocations: 314.6 kB / 0.6141 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.3579, allocations: 9.656 kB / 0.6141 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3579, allocations: 2.938 kB / 0.6141 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3579, allocations: 7.156 kB / 0.6141 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.3582, allocations: 63.14 kB / 0.6142 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.3582, allocations: 6.344 kB / 0.6142 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.3585, allocations: 47.61 kB / 0.6142 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.3585, allocations: 16.38 kB / 0.6142 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002361/0.3588, allocations: 210.1 kB / 0.6144 GB, free: 31.85 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001982/0.359, allocations: 216.6 kB / 0.6146 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000288/0.3593, allocations: 225.9 kB / 0.6149 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.864e-06/0.3593, allocations: 0 / 0.6149 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000459/0.3597, allocations: 309.6 kB / 0.6152 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.793e-06/0.3598, allocations: 10.38 kB / 0.6152 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.3598, allocations: 7.031 kB / 0.6152 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.108e-06/0.3598, allocations: 6.5 kB / 0.6152 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.36, allocations: 57.73 kB / 0.6152 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.36, allocations: 12.41 kB / 0.6152 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/0.3603, allocations: 42.5 kB / 0.6153 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.3603, allocations: 16.62 kB / 0.6153 GB, free: 31.54 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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 6.489e-05/0.3604, allocations: 199 kB / 0.6155 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.425e-05/0.3605, allocations: 57.09 kB / 0.6155 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004382/0.3609, allocations: 262.8 kB / 0.6158 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3609, allocations: 3.422 kB / 0.6158 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.361, allocations: 4 kB / 0.6158 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.361, allocations: 2.906 kB / 0.6158 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007365/0.3617, allocations: 0.7289 MB / 0.6165 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3617, allocations: 0 / 0.6165 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.3618, allocations: 37.48 kB / 0.6166 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3618, allocations: 2.719 kB / 0.6166 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3619, allocations: 5.219 kB / 0.6166 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3619, allocations: 0 / 0.6166 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.3619, allocations: 3.219 kB / 0.6166 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.3622, allocations: 358.1 kB / 0.6169 GB, free: 30.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.841e-05/0.3623, allocations: 143 kB / 0.617 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-05/0.3624, allocations: 9.625 kB / 0.6171 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.3626, allocations: 15.19 kB / 0.6171 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.3626, allocations: 19.88 kB / 0.6171 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.3627, allocations: 12.81 kB / 0.6171 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003278/0.363, allocations: 422.1 kB / 0.6175 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.363, allocations: 0 / 0.6175 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006093/0.3636, allocations: 227.3 kB / 0.6177 GB, free: 30.5 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001337/0.365, allocations: 1.28 MB / 0.619 GB, free: 29.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000556/0.3655, allocations: 323.6 kB / 0.6193 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3655, allocations: 0 / 0.6193 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.3657, allocations: 90.34 kB / 0.6194 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.3668, allocations: 255.2 kB / 0.6196 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003857/0.3706, allocations: 4.135 MB / 0.6236 GB, free: 27.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.3708, allocations: 0.8422 MB / 0.6245 GB, free: 27.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000312/0.3712, allocations: 107.7 kB / 0.6246 GB, free: 27.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.3713, allocations: 166.6 kB / 0.6247 GB, free: 27.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.3713, allocations: 3.375 kB / 0.6247 GB, free: 27.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.468/2.84, allocations: 14.45 MB / 0.6388 GB, free: 25.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/2.84, allocations: 251.5 kB / 0.6391 GB, free: 25.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.001/4.841, allocations: 0.6562 kB / 0.6391 GB, free: 25.53 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)