Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001058/0.001058, allocations: 103.5 kB / 15.98 MB, free: 6.352 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.001114/0.001114, allocations: 195.6 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.1 MB / 222.8 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.661/1.661, allocations: 292.3 MB / 0.5492 GB, free: 13.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 64.69 kB / 0.6716 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2398, allocations: 114.6 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01942/0.2592, allocations: 19.53 MB / 0.8026 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0115/0.2708, allocations: 8.161 MB / 0.8106 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.2718, allocations: 19.81 kB / 0.8106 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008083/0.2727, allocations: 222.7 kB / 0.8108 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002086/0.2748, allocations: 0.7106 MB / 0.8115 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002142/0.277, allocations: 0.8059 MB / 0.8123 GB, free: 340 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001869/0.2788, allocations: 1.537 MB / 0.8138 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006775/0.2795, allocations: 0.4976 MB / 0.8143 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009684/0.2805, allocations: 0.6226 MB / 0.8149 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006107/0.2811, allocations: 0.5406 MB / 0.8154 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 9.122e-05/0.2812, allocations: 56 kB / 0.8154 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.2824, allocations: 0.7057 MB / 0.8161 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.2826, allocations: 159.4 kB / 0.8163 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003727/0.283, allocations: 378 kB / 0.8167 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.284, allocations: 0.7795 MB / 0.8174 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.284, allocations: 0 / 0.8174 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.292e-06/0.284, allocations: 0 / 0.8174 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.284, allocations: 0 / 0.8174 GB, free: 11.04 MB / 0.6387 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.001935/0.286, allocations: 1.094 MB / 0.8185 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.286, allocations: 8.031 kB / 0.8185 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.2862, allocations: 80 kB / 0.8186 GB, free: 9.809 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006909/0.2869, allocations: 0.5105 MB / 0.8191 GB, free: 9.254 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.2869, allocations: 37 kB / 0.8191 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.271e-05/0.287, allocations: 48 kB / 0.8191 GB, free: 9.168 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.2881, allocations: 0.6177 MB / 0.8197 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.2881, allocations: 8 kB / 0.8198 GB, free: 8.477 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.705e-05/0.2882, allocations: 16 kB / 0.8198 GB, free: 8.461 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.2882, allocations: 12 kB / 0.8198 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.2893, allocations: 491.4 kB / 0.8203 GB, free: 7.969 MB / 0.6387 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.0035/0.2928, allocations: 3.189 MB / 0.8234 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007127/0.2935, allocations: 354.3 kB / 0.8237 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004824/0.294, allocations: 231.4 kB / 0.8239 GB, free: 4.004 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004511/0.2945, allocations: 348.4 kB / 0.8243 GB, free: 3.59 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.2945, allocations: 38.56 kB / 0.8243 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=38): time 2.645e-06/0.2945, allocations: 0 / 0.8243 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of matching and sorting (n=38): time 0.002196/0.2967, allocations: 0.8026 MB / 0.8251 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.2968, allocations: 59.34 kB / 0.8251 GB, free: 2.641 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006653/0.2975, allocations: 0.5821 MB / 0.8257 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.2975, allocations: 29.7 kB / 0.8257 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.2978, allocations: 332.5 kB / 0.826 GB, free: 1.688 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 9.633e-05/0.2979, allocations: 126.1 kB / 0.8262 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/0.2981, allocations: 130.2 kB / 0.8263 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.2983, allocations: 370.7 kB / 0.8266 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004913/0.2988, allocations: 223.3 kB / 0.8269 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006149/0.2994, allocations: 368 kB / 0.8272 GB, free: 424 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.3005, allocations: 0.5666 MB / 0.8278 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3005, allocations: 4 kB / 0.8278 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001482/0.302, allocations: 0.7144 MB / 0.8285 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.302, allocations: 8 kB / 0.8285 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.302, allocations: 11.92 kB / 0.8285 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006301/0.3026, allocations: 133.3 kB / 0.8286 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005732/0.3032, allocations: 139.8 kB / 0.8287 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006092/0.3039, allocations: 0.6187 MB / 0.8293 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006246/0.3045, allocations: 99.28 kB / 0.8294 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.29e-05/0.3046, allocations: 35.98 kB / 0.8295 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006524/0.3052, allocations: 346 kB / 0.8298 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005858/0.3058, allocations: 364 kB / 0.8302 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001055/0.3069, allocations: 0.5664 MB / 0.8307 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.098e-06/0.3069, allocations: 8 kB / 0.8307 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001376/0.3083, allocations: 0.667 MB / 0.8314 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3083, allocations: 11.94 kB / 0.8314 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3083, allocations: 4 kB / 0.8314 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.3083, allocations: 8 kB / 0.8314 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006169/0.309, allocations: 155.7 kB / 0.8315 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.309, allocations: 7.938 kB / 0.8315 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005819/0.3096, allocations: 91.84 kB / 0.8316 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.228e-05/0.3096, allocations: 31.92 kB / 0.8317 GB, free: 11.62 MB / 0.6544 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.0002072/0.3098, allocations: 216.1 kB / 0.8319 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.31, allocations: 63.16 kB / 0.8319 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.3115, allocations: 0.6426 MB / 0.8326 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.3115, allocations: 7.938 kB / 0.8326 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3115, allocations: 0 / 0.8326 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.3115, allocations: 7.984 kB / 0.8326 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/0.314, allocations: 1.362 MB / 0.8339 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.314, allocations: 4 kB / 0.8339 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003568/0.3144, allocations: 83.88 kB / 0.834 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000354/0.3147, allocations: 108.9 kB / 0.8341 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/0.3148, allocations: 12 kB / 0.8341 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006241/0.3154, allocations: 0.6227 MB / 0.8347 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.3154, allocations: 8.094 kB / 0.8347 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.3167, allocations: 0.6891 MB / 0.8354 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/0.317, allocations: 196.1 kB / 0.8356 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.894e-05/0.3171, allocations: 12 kB / 0.8356 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004695/0.3176, allocations: 47.88 kB / 0.8356 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.644e-05/0.3177, allocations: 35.91 kB / 0.8357 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.3178, allocations: 19.98 kB / 0.8357 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005089/0.3183, allocations: 395.1 kB / 0.8361 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3183, allocations: 0 / 0.8361 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001295/0.3196, allocations: 391.3 kB / 0.8364 GB, free: 6.57 MB / 0.6544 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.00079/0.3204, allocations: 306.4 kB / 0.8367 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00206/0.3224, allocations: 0.8929 MB / 0.8376 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3225, allocations: 1.125 kB / 0.8376 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006826/0.3232, allocations: 292.1 kB / 0.8379 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.3243, allocations: 237.8 kB / 0.8381 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.3262, allocations: 1.333 MB / 0.8394 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.3267, allocations: 0.9078 MB / 0.8403 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.3269, allocations: 59.42 kB / 0.8404 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of SimCode: time 6.51e-07/0.3269, allocations: 0 / 0.8404 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of Templates: time 0.01736/0.3443, allocations: 12.92 MB / 0.853 GB, free: 5.68 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)