Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.001329/0.001329, allocations: 92.22 kB / 19.65 MB, free: 276 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.001516/0.001516, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9281/0.9281, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.001747/0.001747, allocations: 245.1 kB / 260.2 MB, free: 12.82 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 0.728/0.728, allocations: 138.4 MB / 455.2 MB, free: 1.559 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.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.002e-06/1.002e-06, allocations: 0 / 0.5551 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204e-05/1.305e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.002784/0.002797, allocations: 2.658 MB / 0.5577 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.004514, allocations: 1.473 MB / 0.5592 GB, free: 12.37 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.886e-05/0.004612, allocations: 11.94 kB / 0.5592 GB, free: 12.36 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000342/0.004954, allocations: 99.38 kB / 0.5593 GB, free: 12.26 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.005221, allocations: 210.7 kB / 0.5595 GB, free: 12.05 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.005562, allocations: 255.4 kB / 0.5597 GB, free: 11.8 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003215/0.005883, allocations: 418.6 kB / 0.5601 GB, free: 11.39 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.006132, allocations: 176.2 kB / 0.5603 GB, free: 11.23 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.006358, allocations: 227.4 kB / 0.5605 GB, free: 11 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.006624, allocations: 187.5 kB / 0.5607 GB, free: 10.82 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.006657, allocations: 24 kB / 0.5607 GB, free: 10.8 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001907/0.006847, allocations: 171.6 kB / 0.5609 GB, free: 10.63 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.22e-05/0.00694, allocations: 127.6 kB / 0.561 GB, free: 10.5 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.195e-05/0.007022, allocations: 103.7 kB / 0.5611 GB, free: 10.4 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.007363, allocations: 358.9 kB / 0.5614 GB, free: 10.05 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.007365, allocations: 0 / 0.5614 GB, free: 10.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.92e-07/0.007366, allocations: 0 / 0.5614 GB, free: 10.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.00737, allocations: 0 / 0.5614 GB, free: 10.05 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0007194/0.008089, allocations: 0.6166 MB / 0.562 GB, free: 9.398 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.008119, allocations: 12.69 kB / 0.562 GB, free: 9.387 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000572/0.008691, allocations: 172.5 kB / 0.5622 GB, free: 9.219 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.008928, allocations: 220.8 kB / 0.5624 GB, free: 8.973 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.008944, allocations: 16.86 kB / 0.5624 GB, free: 8.953 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.049e-05/0.009024, allocations: 40.64 kB / 0.5625 GB, free: 8.914 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/0.009424, allocations: 421.3 kB / 0.5629 GB, free: 8.434 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.009438, allocations: 8.188 kB / 0.5629 GB, free: 8.426 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.009465, allocations: 11.94 kB / 0.5629 GB, free: 8.414 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.147e-05/0.009547, allocations: 40.47 kB / 0.5629 GB, free: 8.375 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.009785, allocations: 158.8 kB / 0.5631 GB, free: 8.215 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.01121, allocations: 1.841 MB / 0.5649 GB, free: 6.301 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.01142, allocations: 154.8 kB / 0.565 GB, free: 6.137 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.612e-05/0.01151, allocations: 63.67 kB / 0.5651 GB, free: 6.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.01152, allocations: 7.938 kB / 0.5651 GB, free: 6.062 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.01155, allocations: 45.38 kB / 0.5651 GB, free: 6.008 MB / 490.7 MB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.01155, allocations: 0 / 0.5651 GB, free: 6.008 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.00087/0.01242, allocations: 0.5522 MB / 0.5657 GB, free: 5.422 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.01244, allocations: 63.33 kB / 0.5657 GB, free: 5.348 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.01263, allocations: 281.6 kB / 0.566 GB, free: 5.055 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.01265, allocations: 33.7 kB / 0.566 GB, free: 5.016 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.682e-05/0.01273, allocations: 239 kB / 0.5663 GB, free: 4.777 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.579e-05/0.01278, allocations: 91.28 kB / 0.5663 GB, free: 4.688 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.086e-05/0.01287, allocations: 75.34 kB / 0.5664 GB, free: 4.605 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003551/0.01322, allocations: 0.5079 MB / 0.5669 GB, free: 4.086 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.01333, allocations: 63.95 kB / 0.567 GB, free: 4.023 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.01348, allocations: 178.2 kB / 0.5671 GB, free: 3.805 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.01373, allocations: 258 kB / 0.5674 GB, free: 3.508 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01373, allocations: 4 kB / 0.5674 GB, free: 3.504 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005578/0.01429, allocations: 389.7 kB / 0.5678 GB, free: 3.113 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.0143, allocations: 8 kB / 0.5678 GB, free: 3.105 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.0143, allocations: 0 / 0.5678 GB, free: 3.105 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005747/0.01488, allocations: 199.6 kB / 0.568 GB, free: 2.906 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.01504, allocations: 55.91 kB / 0.568 GB, free: 2.852 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.01648, allocations: 2.2 MB / 0.5702 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.01665, allocations: 23.98 kB / 0.5702 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.01667, allocations: 16 kB / 0.5702 GB, free: 0.4922 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * 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): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.338e-05/0.01676, allocations: 184.5 kB / 0.5704 GB, free: 308 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/0.0168, allocations: 27.86 kB / 0.5704 GB, free: 280 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.01705, allocations: 209 kB / 0.5706 GB, free: 64 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01705, allocations: 4 kB / 0.5706 GB, free: 60 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.01705, allocations: 3.938 kB / 0.5706 GB, free: 56 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.01705, allocations: 0 / 0.5706 GB, free: 56 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005453/0.0176, allocations: 0.5669 MB / 0.5712 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.0176, allocations: 0 / 0.5712 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.01781, allocations: 83.94 kB / 0.5712 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.01781, allocations: 3.984 kB / 0.5713 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.01783, allocations: 11.94 kB / 0.5713 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.01783, allocations: 3.984 kB / 0.5713 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01783, allocations: 4 kB / 0.5713 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.01817, allocations: 421.2 kB / 0.5717 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.88e-05/0.01824, allocations: 51.75 kB / 0.5717 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.01826, allocations: 8 kB / 0.5717 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.01837, allocations: 15.92 kB / 0.5717 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.0184, allocations: 19.97 kB / 0.5718 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.01841, allocations: 8 kB / 0.5718 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001091/0.01852, allocations: 198.2 kB / 0.572 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01852, allocations: 0 / 0.572 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002567/0.01878, allocations: 88 kB / 0.572 GB, free: 14.52 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001106/0.01889, allocations: 107.2 kB / 0.5721 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004885/0.01937, allocations: 448 kB / 0.5726 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01938, allocations: 0 / 0.5726 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.741e-05/0.01946, allocations: 75.59 kB / 0.5726 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.01973, allocations: 60.52 kB / 0.5727 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.02075, allocations: 0.7038 MB / 0.5734 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.02105, allocations: 116.3 kB / 0.5735 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000123/0.02118, allocations: 62.22 kB / 0.5736 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.02124, allocations: 20.5 kB / 0.5736 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of SimCode: time 3.346e-06/0.02124, allocations: 0 / 0.5736 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of Templates: time 0.005584/0.02683, allocations: 4.225 MB / 0.5777 GB, free: 8.684 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.688142626080662]