Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.2..m_flow|vol.1..T|vol.2..T",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.2..m_flow|vol.1..T|vol.2..T",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 118.7 kB / 16.42 MB, free: 6.441 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.001701/0.001701, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.491/2.491, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 63.89 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9061/0.9076, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.07585/0.9835, allocations: 81.03 MB / 1.246 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02958/1.013, allocations: 21.05 MB / 1.267 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003094/1.016, allocations: 107.4 kB / 1.267 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004834/1.021, allocations: 1.965 MB / 1.269 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006936/1.028, allocations: 3.032 MB / 1.272 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005509/1.034, allocations: 2.504 MB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01995/1.054, allocations: 18.45 MB / 1.292 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00892/1.062, allocations: 7.241 MB / 1.299 GB, free: 12.01 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01092/1.073, allocations: 5.962 MB / 1.305 GB, free: 6.062 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008796/1.082, allocations: 5.125 MB / 1.31 GB, free: 0.918 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.002203/1.084, allocations: 0.5469 MB / 1.311 GB, free: 380 kB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006452/1.091, allocations: 1.982 MB / 1.313 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003109/1.094, allocations: 1.76 MB / 1.314 GB, free: 12.62 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.006901/1.101, allocations: 3.476 MB / 1.318 GB, free: 9.129 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01416/1.115, allocations: 9.675 MB / 1.327 GB, free: 15.43 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.115, allocations: 0 / 1.327 GB, free: 15.43 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.944e-06/1.115, allocations: 0 / 1.327 GB, free: 15.43 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002878/1.116, allocations: 4 kB / 1.327 GB, free: 15.42 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 838 * Number of variables: 838 Notification: Performance of Generate backend data structure: time 0.01691/1.132, allocations: 6.901 MB / 1.334 GB, free: 8.422 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/1.133, allocations: 8.031 kB / 1.334 GB, free: 8.414 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005136/1.138, allocations: 0.9489 MB / 1.335 GB, free: 7.457 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01506/1.153, allocations: 6.42 MB / 1.341 GB, free: 0.957 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002529/1.153, allocations: 254.6 kB / 1.342 GB, free: 0.707 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001119/1.154, allocations: 347.9 kB / 1.342 GB, free: 376 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01097/1.165, allocations: 5.735 MB / 1.347 GB, free: 10.38 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.068e-05/1.165, allocations: 11.88 kB / 1.347 GB, free: 10.37 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005958/1.166, allocations: 148 kB / 1.348 GB, free: 10.23 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/1.166, allocations: 122 kB / 1.348 GB, free: 10.11 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009777/1.176, allocations: 5.565 MB / 1.353 GB, free: 4.527 MB / 1.076 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.03547/1.211, allocations: 24.07 MB / 1.377 GB, free: 11.38 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005212/1.216, allocations: 2.76 MB / 1.379 GB, free: 8.621 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003012/1.219, allocations: 1.905 MB / 1.381 GB, free: 6.711 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01265/1.232, allocations: 7.17 MB / 1.388 GB, free: 15.22 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003275/1.235, allocations: 1.91 MB / 1.39 GB, free: 13.3 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003305/1.239, allocations: 0.7272 MB / 1.391 GB, free: 12.57 MB / 1.123 GB Notification: Performance of pre-optimization done (n=154): time 7.654e-06/1.239, allocations: 0 / 1.391 GB, free: 12.57 MB / 1.123 GB Notification: Performance of matching and sorting (n=154): time 0.02586/1.265, allocations: 8.018 MB / 1.399 GB, free: 4.473 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/1.265, allocations: 68.72 kB / 1.399 GB, free: 4.395 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0101/1.275, allocations: 5.606 MB / 1.404 GB, free: 14.82 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0006381/1.275, allocations: 65.7 kB / 1.404 GB, free: 14.75 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.002953/1.278, allocations: 2.597 MB / 1.407 GB, free: 12.12 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001264/1.28, allocations: 0.5587 MB / 1.407 GB, free: 11.56 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002137/1.282, allocations: 0.7713 MB / 1.408 GB, free: 10.78 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001165/1.282, allocations: 305.1 kB / 1.408 GB, free: 10.48 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003494/1.286, allocations: 1.908 MB / 1.41 GB, free: 8.559 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004295/1.29, allocations: 3.155 MB / 1.413 GB, free: 4.844 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007514/1.297, allocations: 5.024 MB / 1.418 GB, free: 15.34 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.598e-05/1.297, allocations: 12 kB / 1.418 GB, free: 15.33 MB / 1.154 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01363/1.311, allocations: 6.796 MB / 1.425 GB, free: 8.5 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.13e-05/1.311, allocations: 47.89 kB / 1.425 GB, free: 8.449 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.978e-05/1.311, allocations: 36 kB / 1.425 GB, free: 8.414 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.082/1.393, allocations: 13.54 MB / 1.438 GB, free: 10.85 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003118/1.396, allocations: 0.702 MB / 1.439 GB, free: 10.15 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/1.406, allocations: 5.481 MB / 1.444 GB, free: 4.586 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004633/1.411, allocations: 236.4 kB / 1.444 GB, free: 4.355 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006085/1.412, allocations: 199.8 kB / 1.445 GB, free: 4.16 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005914/1.418, allocations: 3.273 MB / 1.448 GB, free: 0.8789 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004273/1.422, allocations: 3.109 MB / 1.451 GB, free: 13.2 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007048/1.429, allocations: 4.923 MB / 1.456 GB, free: 7.801 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.072e-05/1.429, allocations: 8.188 kB / 1.456 GB, free: 7.793 MB / 1.186 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.0118/1.441, allocations: 6.519 MB / 1.462 GB, free: 1.242 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/1.441, allocations: 50.61 kB / 1.462 GB, free: 1.188 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-05/1.441, allocations: 36 kB / 1.462 GB, free: 1.152 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08295/1.524, allocations: 13.31 MB / 1.475 GB, free: 3.816 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003019/1.527, allocations: 0.6981 MB / 1.476 GB, free: 3.117 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01379/1.541, allocations: 8.903 MB / 1.484 GB, free: 9.895 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00464/1.545, allocations: 244.2 kB / 1.485 GB, free: 9.652 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005684/1.546, allocations: 199.8 kB / 1.485 GB, free: 9.457 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (317): * Single equations (assignments): 311 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(11,15), (10,11), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0009677/1.547, allocations: 379.6 kB / 1.485 GB, free: 9.078 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001504/1.549, allocations: 0.4978 MB / 1.486 GB, free: 8.574 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009005/1.558, allocations: 4.573 MB / 1.49 GB, free: 3.977 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01371/1.571, allocations: 5.664 MB / 1.496 GB, free: 14.05 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/1.571, allocations: 4 kB / 1.496 GB, free: 14.04 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003762/1.575, allocations: 0.9712 MB / 1.497 GB, free: 13.05 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00166/1.577, allocations: 39.92 kB / 1.497 GB, free: 13.01 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003617/1.58, allocations: 151.7 kB / 1.497 GB, free: 12.86 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004621/1.581, allocations: 137.7 kB / 1.497 GB, free: 12.73 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01213/1.593, allocations: 4.771 MB / 1.502 GB, free: 7.906 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01027/1.603, allocations: 6.013 MB / 1.508 GB, free: 1.879 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002646/1.606, allocations: 1.866 MB / 1.509 GB, free: 8 kB / 1.232 GB Notification: Performance of sorting global known variables: time 0.00647/1.612, allocations: 3.824 MB / 1.513 GB, free: 12.21 MB / 1.248 GB Notification: Performance of Backend: time 9.01e-07/1.612, allocations: 3.938 kB / 1.513 GB, free: 12.21 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.02008/1.633, allocations: 6.964 MB / 1.52 GB, free: 5.215 MB / 1.248 GB Notification: Performance of SimCode: time 0.02415/1.657, allocations: 12.51 MB / 1.532 GB, free: 8.73 MB / 1.264 GB Notification: Performance of Templates: time 0.685/2.342, allocations: 125.6 MB / 1.655 GB, free: 291.7 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Buildings_10_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)