Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.0009409/0.0009409, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0009981/0.0009981, allocations: 173 kB / 23.5 MB, free: 1.055 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.9309/0.9309, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.001635/0.001635, allocations: 237.6 kB / 260.5 MB, free: 12.89 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.7605/0.7605, allocations: 138.4 MB / 455.4 MB, free: 1.539 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.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.555 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.003e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004439/0.004459, allocations: 4.833 MB / 0.5598 GB, free: 12 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002706/0.007165, allocations: 2.51 MB / 0.5622 GB, free: 9.484 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002348/0.0074, allocations: 35.62 kB / 0.5623 GB, free: 9.449 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007107/0.008111, allocations: 405.8 kB / 0.5626 GB, free: 9.051 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006547/0.008765, allocations: 485.1 kB / 0.5631 GB, free: 8.574 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005079/0.009273, allocations: 382.9 kB / 0.5635 GB, free: 8.199 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006218/0.009895, allocations: 0.9486 MB / 0.5644 GB, free: 7.246 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003528/0.01025, allocations: 318.4 kB / 0.5647 GB, free: 6.934 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006554/0.0109, allocations: 490.6 kB / 0.5652 GB, free: 6.453 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002969/0.0112, allocations: 315 kB / 0.5655 GB, free: 6.145 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/0.01124, allocations: 40 kB / 0.5655 GB, free: 6.105 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003397/0.01158, allocations: 359 kB / 0.5658 GB, free: 5.754 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.01172, allocations: 195.3 kB / 0.566 GB, free: 5.562 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.01186, allocations: 207.5 kB / 0.5662 GB, free: 5.359 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005452/0.01241, allocations: 0.6733 MB / 0.5669 GB, free: 4.684 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.01241, allocations: 4 kB / 0.5669 GB, free: 4.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.01241, allocations: 0 / 0.5669 GB, free: 4.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.01242, allocations: 0 / 0.5669 GB, free: 4.68 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0008197/0.01324, allocations: 0.9855 MB / 0.5679 GB, free: 3.656 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.01327, allocations: 8.75 kB / 0.5679 GB, free: 3.648 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008349/0.0141, allocations: 283.9 kB / 0.5681 GB, free: 3.371 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004837/0.01459, allocations: 0.4951 MB / 0.5686 GB, free: 2.844 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.01461, allocations: 37.36 kB / 0.5687 GB, free: 2.809 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.987e-05/0.01466, allocations: 44.36 kB / 0.5687 GB, free: 2.766 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005978/0.01526, allocations: 0.8649 MB / 0.5695 GB, free: 1.695 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.01527, allocations: 8.125 kB / 0.5695 GB, free: 1.688 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.01531, allocations: 20.38 kB / 0.5696 GB, free: 1.668 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.61e-05/0.01537, allocations: 68.89 kB / 0.5696 GB, free: 1.598 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003442/0.01572, allocations: 301.2 kB / 0.5699 GB, free: 1.305 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002739/0.01846, allocations: 6.284 MB / 0.5761 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.01876, allocations: 286.8 kB / 0.5763 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.01888, allocations: 91.64 kB / 0.5764 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.0189, allocations: 4 kB / 0.5764 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.01892, allocations: 33.39 kB / 0.5765 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 1.573e-06/0.01892, allocations: 4 kB / 0.5765 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.001143/0.02006, allocations: 0.6894 MB / 0.5771 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.02009, allocations: 59.69 kB / 0.5772 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.02039, allocations: 498.5 kB / 0.5777 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.02041, allocations: 33.7 kB / 0.5777 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.02059, allocations: 423 kB / 0.5781 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.376e-05/0.02065, allocations: 123 kB / 0.5782 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.857e-05/0.02075, allocations: 119.9 kB / 0.5783 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.02088, allocations: 0.5352 MB / 0.5788 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.02124, allocations: 93.25 kB / 0.5789 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.02149, allocations: 450.6 kB / 0.5794 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004122/0.02191, allocations: 0.578 MB / 0.5799 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.02191, allocations: 4 kB / 0.5799 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006467/0.02256, allocations: 0.6202 MB / 0.5805 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.02257, allocations: 8 kB / 0.5805 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.02258, allocations: 8 kB / 0.5806 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002911/0.02287, allocations: 130.8 kB / 0.5807 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.02313, allocations: 123.8 kB / 0.5808 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.02536, allocations: 5.255 MB / 0.5859 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.02554, allocations: 32.22 kB / 0.586 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.02556, allocations: 35.94 kB / 0.586 GB, free: 15.74 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.02568, allocations: 192.4 kB / 0.5862 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.953e-05/0.02574, allocations: 67.66 kB / 0.5862 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004485/0.02619, allocations: 380.9 kB / 0.5866 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.02619, allocations: 4 kB / 0.5866 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.02619, allocations: 3.938 kB / 0.5866 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.0262, allocations: 11.92 kB / 0.5866 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008223/0.02702, allocations: 0.8953 MB / 0.5875 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.02702, allocations: 0 / 0.5875 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.02715, allocations: 55.89 kB / 0.5876 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002112/0.02736, allocations: 118.6 kB / 0.5877 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.02738, allocations: 12 kB / 0.5877 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/0.02939, allocations: 5.231 MB / 0.5928 GB, free: 8.258 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.0294, allocations: 256 / 0.5928 GB, free: 8.258 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000461/0.02986, allocations: 0.5702 MB / 0.5933 GB, free: 7.617 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.777e-05/0.02995, allocations: 79.62 kB / 0.5934 GB, free: 7.539 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.02999, allocations: 8 kB / 0.5934 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.03011, allocations: 23.97 kB / 0.5935 GB, free: 7.508 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.03016, allocations: 43.81 kB / 0.5935 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.03018, allocations: 8 kB / 0.5935 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001736/0.03035, allocations: 306.8 kB / 0.5938 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.03035, allocations: 4 kB / 0.5938 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003712/0.03072, allocations: 140 kB / 0.5939 GB, free: 7.02 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.979e-05/0.03082, allocations: 118.4 kB / 0.594 GB, free: 6.895 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007076/0.03153, allocations: 0.8422 MB / 0.5949 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.03153, allocations: 5.125 kB / 0.5949 GB, free: 5.984 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003724/0.0319, allocations: 0.657 MB / 0.5955 GB, free: 5.262 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005642/0.03247, allocations: 194.6 kB / 0.5957 GB, free: 5.082 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.03376, allocations: 0.9684 MB / 0.5966 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.03388, allocations: 150 kB / 0.5968 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001872/0.03407, allocations: 101 kB / 0.5969 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.185e-05/0.03414, allocations: 36.5 kB / 0.5969 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of SimCode: time 1.042e-06/0.03414, allocations: 0 / 0.5969 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of Templates: time 0.1641/0.1982, allocations: 7.853 MB / 0.6046 GB, free: 98.94 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7513844731729478]