Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="IDEAS_dev_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.0008307/0.0008309, allocations: 92.31 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.0009059/0.0009061, 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.61/1.61, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.049/1.049, allocations: 135.3 MB / 426.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003562, allocations: 14.19 kB / 0.5071 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1974, allocations: 82.32 MB / 0.5875 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01774/0.2152, allocations: 17.79 MB / 0.6048 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4065/0.6218, allocations: 4.838 MB / 0.6096 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.6234, allocations: 17.25 kB / 0.6096 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009559/0.6244, allocations: 197.4 kB / 0.6098 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002481/0.6269, allocations: 0.6133 MB / 0.6104 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002757/0.6296, allocations: 0.7369 MB / 0.6111 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002237/0.6319, allocations: 1.673 MB / 0.6127 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007641/0.6327, allocations: 417.7 kB / 0.6131 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.6338, allocations: 0.5423 MB / 0.6137 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007532/0.6346, allocations: 0.4904 MB / 0.6141 GB, free: 34.17 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.249e-05/0.6347, allocations: 28.47 kB / 0.6142 GB, free: 34.17 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.636, allocations: 0.5941 MB / 0.6147 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.6362, allocations: 130.1 kB / 0.6149 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.6364, allocations: 153.2 kB / 0.615 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008153/0.6372, allocations: 0.7439 MB / 0.6157 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.6372, allocations: 3.812 kB / 0.6157 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6372, allocations: 0 / 0.6157 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.6372, allocations: 0 / 0.6157 GB, free: 33.97 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00169/0.6389, allocations: 1.001 MB / 0.6167 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.639, allocations: 8.594 kB / 0.6167 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.6391, allocations: 82.84 kB / 0.6168 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.6392, allocations: 87.5 kB / 0.6169 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006958/0.6399, allocations: 485.7 kB / 0.6174 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/0.64, allocations: 38.16 kB / 0.6174 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.738e-05/0.6401, allocations: 49.69 kB / 0.6174 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009782/0.641, allocations: 0.6357 MB / 0.6181 GB, free: 32.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.6411, allocations: 8.312 kB / 0.6181 GB, free: 32.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.651e-05/0.6411, allocations: 17.38 kB / 0.6181 GB, free: 32.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.6411, allocations: 10.53 kB / 0.6181 GB, free: 32.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.6422, allocations: 0.5168 MB / 0.6186 GB, free: 32.74 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.00372/0.6459, allocations: 3.195 MB / 0.6217 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007807/0.6467, allocations: 363 kB / 0.6221 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004783/0.6472, allocations: 241.4 kB / 0.6223 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004007/0.6476, allocations: 351.3 kB / 0.6226 GB, free: 30.06 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.6476, allocations: 33.75 kB / 0.6227 GB, free: 30.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 3.136e-06/0.6477, allocations: 0 / 0.6227 GB, free: 30.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.002147/0.6498, allocations: 0.8652 MB / 0.6235 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.6498, allocations: 58.77 kB / 0.6236 GB, free: 29.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006735/0.6505, allocations: 0.584 MB / 0.6241 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.321e-05/0.6506, allocations: 33.08 kB / 0.6242 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.6508, allocations: 328.1 kB / 0.6245 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.05e-05/0.6509, allocations: 126.5 kB / 0.6246 GB, free: 29.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.651, allocations: 14.75 kB / 0.6246 GB, free: 29.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.6511, allocations: 373.9 kB / 0.625 GB, free: 29.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004371/0.6515, allocations: 220.5 kB / 0.6252 GB, free: 29.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000592/0.6521, allocations: 379 kB / 0.6255 GB, free: 28.87 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005327/0.6527, allocations: 260.8 kB / 0.6258 GB, free: 28.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.6527, allocations: 2.812 kB / 0.6258 GB, free: 28.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00138/0.6541, allocations: 0.7241 MB / 0.6265 GB, free: 28.74 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.6542, allocations: 232.8 kB / 0.6267 GB, free: 28.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.6542, allocations: 11.34 kB / 0.6267 GB, free: 28.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005715/0.6548, allocations: 146.9 kB / 0.6269 GB, free: 28.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006328/0.6554, allocations: 148.6 kB / 0.627 GB, free: 28.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005331/0.656, allocations: 0.6307 MB / 0.6276 GB, free: 27.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000601/0.6566, allocations: 103.6 kB / 0.6277 GB, free: 27.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-05/0.6567, allocations: 30.42 kB / 0.6278 GB, free: 27.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.6567, allocations: 3.219 kB / 0.6278 GB, free: 27.9 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001142/0.6578, allocations: 0.6199 MB / 0.6284 GB, free: 27.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.6579, allocations: 5.094 kB / 0.6284 GB, free: 27.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.6579, allocations: 11.73 kB / 0.6284 GB, free: 27.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005749/0.6585, allocations: 167.3 kB / 0.6285 GB, free: 27.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.6585, allocations: 15.67 kB / 0.6286 GB, free: 27.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005805/0.6591, allocations: 91.55 kB / 0.6286 GB, free: 27.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.076e-05/0.6591, allocations: 27.31 kB / 0.6287 GB, free: 27.8 MB / 0.4981 GB 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.0003487/0.6595, allocations: 268.6 kB / 0.6289 GB, free: 27.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.6596, allocations: 65.89 kB / 0.629 GB, free: 27.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.6611, allocations: 0.6758 MB / 0.6296 GB, free: 27.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.6611, allocations: 13.23 kB / 0.6297 GB, free: 27.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.6611, allocations: 0 / 0.6297 GB, free: 27.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.6612, allocations: 0 / 0.6297 GB, free: 27.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/0.6635, allocations: 1.396 MB / 0.631 GB, free: 27.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.6635, allocations: 0.875 kB / 0.631 GB, free: 27.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003365/0.6638, allocations: 95.27 kB / 0.6311 GB, free: 27.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003639/0.6642, allocations: 135.3 kB / 0.6312 GB, free: 27.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.6643, allocations: 16.48 kB / 0.6313 GB, free: 27.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004969/0.6648, allocations: 0.6328 MB / 0.6319 GB, free: 26.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6648, allocations: 7.25 kB / 0.6319 GB, free: 26.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.666, allocations: 0.729 MB / 0.6326 GB, free: 26.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002681/0.6663, allocations: 201.3 kB / 0.6328 GB, free: 26.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.953e-05/0.6664, allocations: 9.75 kB / 0.6328 GB, free: 26.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/0.6668, allocations: 52.05 kB / 0.6328 GB, free: 26.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.28e-05/0.6669, allocations: 36.91 kB / 0.6329 GB, free: 26.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.267e-05/0.667, allocations: 18.62 kB / 0.6329 GB, free: 26.17 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004819/0.6674, allocations: 396.6 kB / 0.6333 GB, free: 26.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6675, allocations: 0 / 0.6333 GB, free: 26.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001358/0.6688, allocations: 389 kB / 0.6336 GB, free: 26.03 MB / 0.4981 GB 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.002284/0.6711, allocations: 1.469 MB / 0.6351 GB, free: 25.22 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002114/0.6732, allocations: 0.9072 MB / 0.636 GB, free: 25.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6733, allocations: 4 kB / 0.636 GB, free: 25.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007041/0.674, allocations: 302.8 kB / 0.6363 GB, free: 25.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.6755, allocations: 271 kB / 0.6365 GB, free: 25.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006169/0.6816, allocations: 3.781 MB / 0.6402 GB, free: 23.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.6821, allocations: 0.9121 MB / 0.6411 GB, free: 22.37 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007209/0.6828, allocations: 158.4 kB / 0.6413 GB, free: 22.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/0.6831, allocations: 252.2 kB / 0.6415 GB, free: 22.15 MB / 0.4981 GB Notification: Performance of SimCode: time 1.824e-06/0.6832, allocations: 0 / 0.6415 GB, free: 22.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07004/0.7532, allocations: 17.72 MB / 0.6588 GB, free: 20.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000273/0.7535, allocations: 280.7 kB / 0.6591 GB, free: 20.44 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.358/3.112, allocations: 0 / 0.6591 GB, free: 20.44 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1) Environment - environmentSimulation: