Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.577/1.577, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003288/0.003288, allocations: 238.1 kB / 259.8 MB, free: 12.85 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.157/1.157, allocations: 138.5 MB / 454.7 MB, free: 1.492 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 0.5543 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.663e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.009542/0.009569, allocations: 6.084 MB / 0.5603 GB, free: 10.72 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006241/0.01581, allocations: 3.207 MB / 0.5634 GB, free: 7.504 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004568/0.01627, allocations: 39.62 kB / 0.5635 GB, free: 7.465 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002835/0.0191, allocations: 0.9647 MB / 0.5644 GB, free: 6.496 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.02053, allocations: 0.4892 MB / 0.5649 GB, free: 6.004 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.02181, allocations: 0.4946 MB / 0.5654 GB, free: 5.508 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.02323, allocations: 1.131 MB / 0.5665 GB, free: 4.371 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008458/0.02407, allocations: 0.5022 MB / 0.567 GB, free: 3.863 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009137/0.02499, allocations: 0.6078 MB / 0.5676 GB, free: 3.254 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007007/0.02569, allocations: 438.8 kB / 0.568 GB, free: 2.824 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.02579, allocations: 60 kB / 0.568 GB, free: 2.766 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008607/0.02665, allocations: 450.7 kB / 0.5685 GB, free: 2.324 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003498/0.027, allocations: 303.2 kB / 0.5687 GB, free: 2.027 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003688/0.02737, allocations: 275.3 kB / 0.569 GB, free: 1.758 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.02898, allocations: 1.215 MB / 0.5702 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.02898, allocations: 0 / 0.5702 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.02898, allocations: 0 / 0.5702 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.02899, allocations: 0 / 0.5702 GB, free: 0.5391 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001876/0.03087, allocations: 1.141 MB / 0.5713 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.03091, allocations: 12.73 kB / 0.5713 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/0.0326, allocations: 339.7 kB / 0.5716 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.03375, allocations: 0.5381 MB / 0.5722 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.819e-05/0.0338, allocations: 45.67 kB / 0.5722 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.03392, allocations: 72.31 kB / 0.5723 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.03538, allocations: 0.9561 MB / 0.5732 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.959e-05/0.03542, allocations: 12.12 kB / 0.5732 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.379e-05/0.03549, allocations: 28.36 kB / 0.5733 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/0.0356, allocations: 73.2 kB / 0.5733 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007814/0.03638, allocations: 376.6 kB / 0.5737 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006152/0.04253, allocations: 5.814 MB / 0.5794 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006514/0.04318, allocations: 262.7 kB / 0.5796 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007451/0.04393, allocations: 263.5 kB / 0.5799 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.04397, allocations: 8 kB / 0.5799 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.04401, allocations: 41.39 kB / 0.5799 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=41): time 1.864e-06/0.04401, allocations: 0 / 0.5799 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of matching and sorting (n=42): time 0.004013/0.04802, allocations: 1.202 MB / 0.5811 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.04807, allocations: 55.41 kB / 0.5811 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006301/0.0487, allocations: 0.5414 MB / 0.5817 GB, free: 4.266 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.04874, allocations: 33.7 kB / 0.5817 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.04911, allocations: 454.7 kB / 0.5821 GB, free: 3.773 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000164/0.04928, allocations: 166.7 kB / 0.5823 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.0495, allocations: 123.9 kB / 0.5824 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003266/0.04983, allocations: 0.5547 MB / 0.583 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.05009, allocations: 121.2 kB / 0.5831 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005588/0.05065, allocations: 432.7 kB / 0.5835 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008859/0.05154, allocations: 0.6005 MB / 0.5841 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.05154, allocations: 4 kB / 0.5841 GB, free: 1.508 MB / 0.4948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001748/0.05329, allocations: 0.7725 MB / 0.5848 GB, free: 0.7109 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.05331, allocations: 8 kB / 0.5848 GB, free: 0.7031 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.05333, allocations: 8 kB / 0.5848 GB, free: 0.6953 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/0.05454, allocations: 282.8 kB / 0.5851 GB, free: 412 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.05488, allocations: 99.77 kB / 0.5852 GB, free: 312 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008372/0.06325, allocations: 7.888 MB / 0.5929 GB, free: 7.922 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/0.06366, allocations: 27.97 kB / 0.5929 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.254e-05/0.06371, allocations: 35.94 kB / 0.593 GB, free: 7.859 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003015/0.06402, allocations: 216.3 kB / 0.5932 GB, free: 7.637 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.06414, allocations: 79.62 kB / 0.5933 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/0.06568, allocations: 0.5948 MB / 0.5938 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.06569, allocations: 8 kB / 0.5938 GB, free: 6.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.0657, allocations: 4 kB / 0.5938 GB, free: 6.926 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.0657, allocations: 3.938 kB / 0.5939 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.06831, allocations: 1.278 MB / 0.5951 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.06831, allocations: 0 / 0.5951 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.06849, allocations: 39.95 kB / 0.5951 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001106/0.0696, allocations: 266.9 kB / 0.5954 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.06963, allocations: 8 kB / 0.5954 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1855/0.2552, allocations: 7.885 MB / 0.6031 GB, free: 95.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2552, allocations: 3.594 kB / 0.6031 GB, free: 95.07 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.2565, allocations: 0.7785 MB / 0.6039 GB, free: 94.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.2567, allocations: 91.12 kB / 0.6039 GB, free: 94.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.251e-05/0.2568, allocations: 13.78 kB / 0.604 GB, free: 94.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.257, allocations: 27.7 kB / 0.604 GB, free: 94.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.2571, allocations: 42.25 kB / 0.604 GB, free: 94.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.2572, allocations: 12.22 kB / 0.604 GB, free: 94.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002451/0.2574, allocations: 337.6 kB / 0.6044 GB, free: 94.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.2574, allocations: 0.6562 kB / 0.6044 GB, free: 94.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007151/0.2581, allocations: 198.8 kB / 0.6046 GB, free: 94.64 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001125/0.2582, allocations: 113.5 kB / 0.6047 GB, free: 94.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001366/0.2596, allocations: 1.2 MB / 0.6058 GB, free: 93.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2596, allocations: 0.6562 kB / 0.6058 GB, free: 93.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009068/0.2605, allocations: 0.9695 MB / 0.6068 GB, free: 93.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009433/0.2615, allocations: 205.5 kB / 0.607 GB, free: 93.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.2629, allocations: 1.17 MB / 0.6081 GB, free: 92.56 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.2632, allocations: 378.6 kB / 0.6085 GB, free: 92.47 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002027/0.2634, allocations: 85.98 kB / 0.6086 GB, free: 92.47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.897e-05/0.2635, allocations: 33.91 kB / 0.6086 GB, free: 92.46 MB / 0.5105 GB Notification: Performance of SimCode: time 6.32e-07/0.2635, allocations: 5.406 kB / 0.6086 GB, free: 92.46 MB / 0.5105 GB Notification: Performance of Templates: time 0.01822/0.2817, allocations: 10.53 MB / 0.6189 GB, free: 91.68 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.376633338048123]