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.001231/0.001231, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001004/0.001004, allocations: 177 kB / 23.36 MB, free: 1.129 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.9671/0.9671, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.002378/0.002378, allocations: 249.5 kB / 260.5 MB, free: 12.69 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.6892/0.6892, allocations: 138.4 MB / 402.2 MB, free: 0.5664 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.934e-06/1.934e-06, allocations: 4.594 kB / 462.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.833e-05, allocations: 2.906 kB / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004517/0.004535, allocations: 3.734 MB / 466.1 MB, free: 14.48 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002578/0.007113, allocations: 1.418 MB / 467.5 MB, free: 13.51 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002979/0.007411, allocations: 35.62 kB / 467.5 MB, free: 13.47 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005334/0.007944, allocations: 160.9 kB / 467.7 MB, free: 13.33 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000653/0.008597, allocations: 361.2 kB / 468 MB, free: 12.98 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007163/0.009313, allocations: 314.3 kB / 468.3 MB, free: 12.68 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009371/0.01025, allocations: 0.9447 MB / 469.3 MB, free: 11.73 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004425/0.01069, allocations: 346.9 kB / 469.6 MB, free: 11.39 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006009/0.01129, allocations: 491.3 kB / 470.1 MB, free: 10.91 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004355/0.01173, allocations: 317.8 kB / 470.4 MB, free: 10.6 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.778e-05/0.01179, allocations: 40 kB / 470.4 MB, free: 10.56 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.01197, allocations: 107.7 kB / 470.5 MB, free: 10.46 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.01212, allocations: 195.3 kB / 470.7 MB, free: 10.27 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.01231, allocations: 211.9 kB / 470.9 MB, free: 10.06 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005135/0.01282, allocations: 0.5026 MB / 471.4 MB, free: 9.555 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.01283, allocations: 0 / 471.4 MB, free: 9.555 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01283, allocations: 1.125 kB / 471.4 MB, free: 9.555 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.01283, allocations: 0 / 471.4 MB, free: 9.555 MB / 426.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.001138/0.01397, allocations: 0.8045 MB / 472.2 MB, free: 8.734 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.014, allocations: 12.75 kB / 472.3 MB, free: 8.723 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006935/0.0147, allocations: 192.5 kB / 472.4 MB, free: 8.535 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005975/0.0153, allocations: 476.2 kB / 472.9 MB, free: 8.055 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.01533, allocations: 39.09 kB / 473 MB, free: 8.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-05/0.0154, allocations: 48.36 kB / 473 MB, free: 7.973 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005911/0.01599, allocations: 0.7216 MB / 473.7 MB, free: 7.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.01601, allocations: 8.125 kB / 473.7 MB, free: 7.082 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.01605, allocations: 24.36 kB / 473.8 MB, free: 7.059 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.018e-05/0.01613, allocations: 68.91 kB / 473.8 MB, free: 6.992 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.01643, allocations: 235.7 kB / 474.1 MB, free: 6.766 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002451/0.01888, allocations: 4.169 MB / 478.2 MB, free: 2.438 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.0192, allocations: 279.5 kB / 478.5 MB, free: 2.164 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.968e-05/0.0193, allocations: 66.48 kB / 478.6 MB, free: 2.102 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.01932, allocations: 7.984 kB / 478.6 MB, free: 2.094 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.01934, allocations: 38.56 kB / 478.6 MB, free: 2.047 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 1.733e-06/0.01935, allocations: 0 / 478.6 MB, free: 2.047 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.001315/0.02066, allocations: 0.5008 MB / 479.1 MB, free: 1.523 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.02069, allocations: 55.69 kB / 479.2 MB, free: 1.457 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.02098, allocations: 443.6 kB / 479.6 MB, free: 1.012 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.021, allocations: 33.7 kB / 479.6 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.02115, allocations: 325.8 kB / 479.9 MB, free: 0.6484 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.261e-05/0.02122, allocations: 123 kB / 480.1 MB, free: 0.5273 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.02134, allocations: 113.2 kB / 480.2 MB, free: 424 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.02145, allocations: 370.6 kB / 480.5 MB, free: 44 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.861e-05/0.02155, allocations: 57.28 kB / 480.6 MB, free: 15.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.02176, allocations: 315.3 kB / 480.9 MB, free: 15.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/0.02214, allocations: 437.5 kB / 481.3 MB, free: 15.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.02215, allocations: 5.562 kB / 481.3 MB, free: 15.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006258/0.02277, allocations: 493.1 kB / 481.8 MB, free: 14.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.02279, allocations: 8.781 kB / 481.8 MB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.0228, allocations: 8 kB / 481.8 MB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002979/0.0231, allocations: 122.5 kB / 481.9 MB, free: 14.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/0.02339, allocations: 117.6 kB / 482.1 MB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.02528, allocations: 3.584 MB / 485.6 MB, free: 10.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.0255, allocations: 20 kB / 485.7 MB, free: 10.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.02553, allocations: 20 kB / 485.7 MB, free: 10.36 MB / 442.7 MB 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.0001405/0.02567, allocations: 162.6 kB / 485.8 MB, free: 10.19 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.971e-05/0.02574, allocations: 44.92 kB / 485.9 MB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006625/0.0264, allocations: 309 kB / 486.2 MB, free: 9.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.0264, allocations: 4.969 kB / 486.2 MB, free: 9.816 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.02641, allocations: 3.984 kB / 486.2 MB, free: 9.812 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.02641, allocations: 4 kB / 486.2 MB, free: 9.809 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008212/0.02723, allocations: 0.6829 MB / 486.9 MB, free: 9.059 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.02724, allocations: 1.375 kB / 486.9 MB, free: 9.059 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.02738, allocations: 41 kB / 486.9 MB, free: 9.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000244/0.02762, allocations: 112.8 kB / 487 MB, free: 8.891 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.02764, allocations: 8 kB / 487 MB, free: 8.883 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/0.02937, allocations: 3.593 MB / 490.6 MB, free: 5.012 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.02937, allocations: 4 kB / 490.6 MB, free: 5.008 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004581/0.02983, allocations: 474.5 kB / 491.1 MB, free: 4.484 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.02993, allocations: 69.33 kB / 491.2 MB, free: 4.418 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.02998, allocations: 11.98 kB / 491.2 MB, free: 4.406 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.03013, allocations: 13.25 kB / 491.2 MB, free: 4.395 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.03019, allocations: 39.88 kB / 491.2 MB, free: 4.355 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.03021, allocations: 5.469 kB / 491.2 MB, free: 4.352 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001468/0.03036, allocations: 184.4 kB / 491.4 MB, free: 4.172 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03036, allocations: 0 / 491.4 MB, free: 4.172 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000513/0.03087, allocations: 144 kB / 491.6 MB, free: 4.031 MB / 442.7 MB 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 0.0001107/0.03098, allocations: 86.58 kB / 491.6 MB, free: 3.941 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006524/0.03163, allocations: 0.6312 MB / 492.3 MB, free: 3.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.56e-05/0.03165, allocations: 10 kB / 492.3 MB, free: 3.262 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003779/0.03203, allocations: 474 kB / 492.8 MB, free: 2.754 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006407/0.03267, allocations: 197.4 kB / 492.9 MB, free: 2.582 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.03419, allocations: 0.954 MB / 493.9 MB, free: 1.578 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.0343, allocations: 154.6 kB / 494.1 MB, free: 1.406 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002042/0.03451, allocations: 67.69 kB / 494.1 MB, free: 1.352 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.0348, allocations: 181.2 kB / 494.3 MB, free: 1.176 MB / 442.7 MB Notification: Performance of SimCode: time 8.12e-07/0.0348, allocations: 0.625 kB / 494.3 MB, free: 1.176 MB / 442.7 MB Notification: Performance of Templates: time 0.01412/0.04891, allocations: 8.377 MB / 0.4909 GB, free: 9.258 MB / 458.7 MB " [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.591172683984041]