Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",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.0008645/0.0008646, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.0009749/0.000975, allocations: 172.7 kB / 15.95 MB, free: 208 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.449/1.449, allocations: 223.3 MB / 240 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7773/0.7773, allocations: 132.3 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003653, allocations: 12 kB / 0.5035 GB, free: 4.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4404/0.4408, allocations: 81.56 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02411/0.465, allocations: 17.8 MB / 0.6005 GB, free: 7.352 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008792/0.4739, allocations: 4.865 MB / 0.6053 GB, free: 3.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.4752, allocations: 15.62 kB / 0.6053 GB, free: 3.672 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.4762, allocations: 185.6 kB / 0.6055 GB, free: 3.516 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002494/0.4787, allocations: 0.6226 MB / 0.6061 GB, free: 3.012 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002403/0.4812, allocations: 0.7419 MB / 0.6068 GB, free: 2.504 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002594/0.4838, allocations: 1.672 MB / 0.6084 GB, free: 1.512 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009686/0.4847, allocations: 419.7 kB / 0.6088 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/0.4862, allocations: 0.5403 MB / 0.6094 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.4873, allocations: 499.7 kB / 0.6098 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001878/0.4875, allocations: 28.19 kB / 0.6099 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.4892, allocations: 0.5985 MB / 0.6104 GB, free: 340 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002384/0.4894, allocations: 131.5 kB / 0.6106 GB, free: 236 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004145/0.4898, allocations: 153.2 kB / 0.6107 GB, free: 144 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.4912, allocations: 0.7424 MB / 0.6114 GB, free: 15.67 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.4912, allocations: 1.438 kB / 0.6114 GB, free: 15.67 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4912, allocations: 0 / 0.6114 GB, free: 15.67 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.666e-05/0.4913, allocations: 0 / 0.6114 GB, free: 15.67 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002822/0.4941, allocations: 0.9973 MB / 0.6124 GB, free: 14.87 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.4942, allocations: 9.125 kB / 0.6124 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002597/0.4945, allocations: 89.17 kB / 0.6125 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004122/0.4949, allocations: 83.19 kB / 0.6126 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.4963, allocations: 490.2 kB / 0.6131 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.216e-05/0.4964, allocations: 40.03 kB / 0.6131 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.4965, allocations: 48.91 kB / 0.6131 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.498, allocations: 0.6457 MB / 0.6138 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.498, allocations: 5.406 kB / 0.6138 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.404e-05/0.4981, allocations: 17.28 kB / 0.6138 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.4981, allocations: 12.19 kB / 0.6138 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.4994, allocations: 0.5132 MB / 0.6143 GB, free: 13.57 MB / 462.1 MB 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.004384/0.5038, allocations: 3.196 MB / 0.6174 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007388/0.5045, allocations: 361.5 kB / 0.6178 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000492/0.505, allocations: 237.4 kB / 0.618 GB, free: 10.33 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003609/0.5054, allocations: 353 kB / 0.6183 GB, free: 9.934 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.5055, allocations: 36.72 kB / 0.6184 GB, free: 9.891 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 2.445e-06/0.5055, allocations: 0 / 0.6184 GB, free: 9.891 MB / 462.1 MB Notification: Performance of matching and sorting (n=38): time 0.002319/0.5078, allocations: 0.8648 MB / 0.6192 GB, free: 9.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.5079, allocations: 54.81 kB / 0.6193 GB, free: 9.367 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008488/0.5087, allocations: 0.5896 MB / 0.6198 GB, free: 9.004 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.066e-05/0.5088, allocations: 31.3 kB / 0.6199 GB, free: 8.969 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.5091, allocations: 332.9 kB / 0.6202 GB, free: 8.676 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.5092, allocations: 126.4 kB / 0.6203 GB, free: 8.566 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.5092, allocations: 10.91 kB / 0.6203 GB, free: 8.559 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.5094, allocations: 372.5 kB / 0.6207 GB, free: 8.199 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005123/0.5099, allocations: 221.2 kB / 0.6209 GB, free: 8.102 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005905/0.5105, allocations: 372.3 kB / 0.6212 GB, free: 7.82 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005799/0.5111, allocations: 256.6 kB / 0.6215 GB, free: 7.699 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.5111, allocations: 5.312 kB / 0.6215 GB, free: 7.695 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001568/0.5127, allocations: 0.7307 MB / 0.6222 GB, free: 7.336 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001481/0.5129, allocations: 226.7 kB / 0.6224 GB, free: 7.062 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.5129, allocations: 4.312 kB / 0.6224 GB, free: 7.062 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005903/0.5135, allocations: 149.8 kB / 0.6226 GB, free: 7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006728/0.5142, allocations: 156.5 kB / 0.6227 GB, free: 6.961 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006507/0.5148, allocations: 0.6254 MB / 0.6233 GB, free: 6.387 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007662/0.5156, allocations: 106.9 kB / 0.6234 GB, free: 6.324 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.621e-05/0.5157, allocations: 34.7 kB / 0.6235 GB, free: 6.312 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.5157, allocations: 3.031 kB / 0.6235 GB, free: 6.312 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001288/0.517, allocations: 0.6302 MB / 0.6241 GB, free: 5.879 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.517, allocations: 8 kB / 0.6241 GB, free: 5.871 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.5171, allocations: 11.94 kB / 0.6241 GB, free: 5.859 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005703/0.5176, allocations: 163.7 kB / 0.6243 GB, free: 5.699 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.5177, allocations: 8 kB / 0.6243 GB, free: 5.691 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006592/0.5183, allocations: 83.73 kB / 0.6243 GB, free: 5.609 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-05/0.5184, allocations: 31.98 kB / 0.6244 GB, free: 5.578 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003597/0.5188, allocations: 274.5 kB / 0.6246 GB, free: 5.301 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.5189, allocations: 71.11 kB / 0.6247 GB, free: 5.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/0.5204, allocations: 0.6694 MB / 0.6254 GB, free: 4.551 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.5204, allocations: 7.984 kB / 0.6254 GB, free: 4.543 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5204, allocations: 4 kB / 0.6254 GB, free: 4.539 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.5204, allocations: 4 kB / 0.6254 GB, free: 4.535 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002701/0.5231, allocations: 1.394 MB / 0.6267 GB, free: 3.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/0.5232, allocations: 0 / 0.6267 GB, free: 3.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003579/0.5235, allocations: 83.89 kB / 0.6268 GB, free: 2.988 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004283/0.524, allocations: 132.9 kB / 0.6269 GB, free: 2.855 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.595e-05/0.524, allocations: 19.98 kB / 0.627 GB, free: 2.836 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006978/0.5247, allocations: 0.6382 MB / 0.6276 GB, free: 2.172 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5248, allocations: 3.938 kB / 0.6276 GB, free: 2.168 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.5261, allocations: 0.7281 MB / 0.6283 GB, free: 1.414 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000382/0.5265, allocations: 196.1 kB / 0.6285 GB, free: 1.203 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.5267, allocations: 16 kB / 0.6285 GB, free: 1.188 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004868/0.5272, allocations: 59.88 kB / 0.6286 GB, free: 1.129 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.5272, allocations: 27.91 kB / 0.6286 GB, free: 1.102 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-05/0.5273, allocations: 19.98 kB / 0.6286 GB, free: 1.082 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004382/0.5277, allocations: 399.1 kB / 0.629 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5277, allocations: 0 / 0.629 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001337/0.5291, allocations: 391.3 kB / 0.6294 GB, free: 324 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002331/0.5314, allocations: 1.469 MB / 0.6308 GB, free: 14.81 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002031/0.5335, allocations: 0.9072 MB / 0.6317 GB, free: 13.91 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5335, allocations: 4 kB / 0.6317 GB, free: 13.91 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006705/0.5342, allocations: 299.6 kB / 0.632 GB, free: 13.61 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.5357, allocations: 265.5 kB / 0.6322 GB, free: 13.35 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006354/0.542, allocations: 3.79 MB / 0.6359 GB, free: 9.441 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/0.5425, allocations: 0.908 MB / 0.6368 GB, free: 8.508 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006288/0.5432, allocations: 163.8 kB / 0.637 GB, free: 8.352 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003296/0.5435, allocations: 243.3 kB / 0.6372 GB, free: 8.113 MB / 478.1 MB Notification: Performance of SimCode: time 6.01e-07/0.5435, allocations: 0 / 0.6372 GB, free: 8.113 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03299/0.5765, allocations: 17.71 MB / 0.6545 GB, free: 6.828 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/0.5768, allocations: 271.5 kB / 0.6548 GB, free: 6.469 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.199/2.776, allocations: 7.875 kB / 0.6548 GB, free: 6.461 MB / 494.1 MB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) Environment - environmentSimulation: