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: translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001129, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9442/0.9442, allocations: 135.2 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.81 kB / 0.5054 GB, free: 5.289 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1583, allocations: 80.94 MB / 0.5844 GB, free: 4.504 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02104/0.1793, allocations: 19.42 MB / 0.6034 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2968/0.4761, allocations: 5.146 MB / 0.6084 GB, free: 35.79 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.4776, allocations: 16.44 kB / 0.6084 GB, free: 35.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009903/0.4787, allocations: 271.8 kB / 0.6087 GB, free: 35.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002349/0.4811, allocations: 0.7738 MB / 0.6094 GB, free: 35.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.4831, allocations: 0.8737 MB / 0.6103 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00159/0.4847, allocations: 1.542 MB / 0.6118 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005923/0.4853, allocations: 0.5109 MB / 0.6123 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008645/0.4862, allocations: 0.6225 MB / 0.6129 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005041/0.4867, allocations: 0.528 MB / 0.6134 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.682e-05/0.4868, allocations: 55.03 kB / 0.6135 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.4879, allocations: 0.7056 MB / 0.6142 GB, free: 35.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.4881, allocations: 167 kB / 0.6143 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002813/0.4884, allocations: 378.8 kB / 0.6147 GB, free: 35.26 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.4894, allocations: 1.081 MB / 0.6157 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4894, allocations: 3.562 kB / 0.6157 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4894, allocations: 6.078 kB / 0.6158 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.4894, allocations: 0 / 0.6158 GB, free: 35.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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001561/0.491, allocations: 1.106 MB / 0.6168 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.4911, allocations: 9.219 kB / 0.6168 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.4912, allocations: 82.56 kB / 0.6169 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005424/0.4918, allocations: 0.5011 MB / 0.6174 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.4918, allocations: 34.56 kB / 0.6174 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.715e-05/0.4919, allocations: 54.5 kB / 0.6175 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008588/0.4927, allocations: 0.6174 MB / 0.6181 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.4928, allocations: 3.344 kB / 0.6181 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.265e-05/0.4928, allocations: 20.88 kB / 0.6181 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.4928, allocations: 11.05 kB / 0.6181 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009669/0.4938, allocations: 495.9 kB / 0.6186 GB, free: 33.86 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.002547/0.4963, allocations: 3.202 MB / 0.6217 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000615/0.497, allocations: 350.7 kB / 0.6221 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004351/0.4974, allocations: 232.3 kB / 0.6223 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002525/0.4977, allocations: 346.3 kB / 0.6226 GB, free: 30.67 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.4977, allocations: 39.3 kB / 0.6227 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 1.803e-06/0.4977, allocations: 0 / 0.6227 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001955/0.4997, allocations: 0.8089 MB / 0.6234 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.4997, allocations: 57.19 kB / 0.6235 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005074/0.5002, allocations: 0.591 MB / 0.6241 GB, free: 29.94 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.5003, allocations: 32.3 kB / 0.6241 GB, free: 29.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.5004, allocations: 323.1 kB / 0.6244 GB, free: 29.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.681e-05/0.5005, allocations: 137.1 kB / 0.6245 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.5007, allocations: 134.6 kB / 0.6247 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.212e-05/0.5007, allocations: 372.1 kB / 0.625 GB, free: 29.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004635/0.5012, allocations: 224.6 kB / 0.6252 GB, free: 29.06 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005406/0.5018, allocations: 364.3 kB / 0.6256 GB, free: 28.83 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009397/0.5027, allocations: 0.5776 MB / 0.6262 GB, free: 28.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5027, allocations: 0 / 0.6262 GB, free: 28.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001363/0.5041, allocations: 0.72 MB / 0.6269 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.5041, allocations: 5.656 kB / 0.6269 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.5041, allocations: 5.625 kB / 0.6269 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006194/0.5048, allocations: 127.5 kB / 0.627 GB, free: 28.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005295/0.5053, allocations: 143.4 kB / 0.6271 GB, free: 28.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000442/0.5058, allocations: 0.6126 MB / 0.6277 GB, free: 27.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005202/0.5063, allocations: 79.31 kB / 0.6278 GB, free: 27.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.262e-05/0.5064, allocations: 34.72 kB / 0.6278 GB, free: 27.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000572/0.5069, allocations: 353.2 kB / 0.6282 GB, free: 27.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004766/0.5074, allocations: 362.6 kB / 0.6285 GB, free: 27.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008812/0.5083, allocations: 0.561 MB / 0.6291 GB, free: 26.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.066e-06/0.5083, allocations: 2.938 kB / 0.6291 GB, free: 26.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001178/0.5095, allocations: 0.6674 MB / 0.6297 GB, free: 26.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.5095, allocations: 9.281 kB / 0.6297 GB, free: 26.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.5095, allocations: 10.62 kB / 0.6297 GB, free: 26.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.052e-06/0.5096, allocations: 6.594 kB / 0.6297 GB, free: 26.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005447/0.5101, allocations: 160 kB / 0.6299 GB, free: 26.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.5101, allocations: 8.219 kB / 0.6299 GB, free: 26.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/0.5106, allocations: 73.64 kB / 0.63 GB, free: 26.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/0.5107, allocations: 28.86 kB / 0.63 GB, free: 26.44 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.5108, allocations: 225.2 kB / 0.6302 GB, free: 26.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.707e-05/0.5109, allocations: 66.06 kB / 0.6303 GB, free: 26.19 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.5122, allocations: 0.6376 MB / 0.6309 GB, free: 25.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.5122, allocations: 2.875 kB / 0.6309 GB, free: 25.94 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5123, allocations: 7.125 kB / 0.6309 GB, free: 25.94 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.5123, allocations: 7.422 kB / 0.6309 GB, free: 25.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.5144, allocations: 1.367 MB / 0.6323 GB, free: 25.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.5144, allocations: 3.156 kB / 0.6323 GB, free: 25.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/0.5147, allocations: 81.52 kB / 0.6323 GB, free: 25.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003409/0.5151, allocations: 105 kB / 0.6324 GB, free: 25.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.5151, allocations: 17.33 kB / 0.6325 GB, free: 25.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005103/0.5156, allocations: 0.6189 MB / 0.6331 GB, free: 24.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.5156, allocations: 3.938 kB / 0.6331 GB, free: 24.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.5168, allocations: 0.6965 MB / 0.6337 GB, free: 24.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/0.5171, allocations: 202.2 kB / 0.6339 GB, free: 24.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.195e-05/0.5171, allocations: 9.797 kB / 0.6339 GB, free: 24.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003968/0.5175, allocations: 38.19 kB / 0.634 GB, free: 24.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/0.5176, allocations: 30.3 kB / 0.634 GB, free: 24.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/0.5177, allocations: 15.8 kB / 0.634 GB, free: 24.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004079/0.5181, allocations: 401.8 kB / 0.6344 GB, free: 23.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5181, allocations: 0 / 0.6344 GB, free: 23.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001074/0.5192, allocations: 392.8 kB / 0.6348 GB, free: 23.81 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005934/0.5198, allocations: 316.7 kB / 0.6351 GB, free: 23.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001841/0.5216, allocations: 0.8897 MB / 0.636 GB, free: 23.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5216, allocations: 0 / 0.636 GB, free: 23.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006136/0.5223, allocations: 287.1 kB / 0.6362 GB, free: 23.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.5234, allocations: 230.7 kB / 0.6364 GB, free: 23.22 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.5249, allocations: 1.079 MB / 0.6375 GB, free: 22.63 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.5251, allocations: 0.9092 MB / 0.6384 GB, free: 21.92 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000497/0.5256, allocations: 150 kB / 0.6385 GB, free: 21.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.5258, allocations: 62.91 kB / 0.6386 GB, free: 21.88 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.5258, allocations: 0 / 0.6386 GB, free: 21.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.02441/0.5502, allocations: 12.6 MB / 0.6509 GB, free: 20.89 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)