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.0008458/0.0008458, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009354/0.0009354, allocations: 177 kB / 23.36 MB, free: 1.133 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.9756/0.9756, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.001722/0.001722, allocations: 254 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.7448/0.7448, allocations: 138.4 MB / 402.2 MB, free: 0.5703 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.122e-06/1.122e-06, allocations: 0 / 462.4 MB, free: 0.918 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075e-05/1.187e-05, allocations: 3.734 kB / 462.4 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.003582/0.003594, allocations: 3.784 MB / 466.1 MB, free: 14.47 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.005636, allocations: 1.405 MB / 467.5 MB, free: 13.44 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002121/0.005848, allocations: 38.25 kB / 467.6 MB, free: 13.4 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004214/0.006269, allocations: 158.8 kB / 467.7 MB, free: 13.25 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005069/0.006776, allocations: 356.5 kB / 468.1 MB, free: 12.9 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.007215, allocations: 321.4 kB / 468.4 MB, free: 12.59 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006812/0.007896, allocations: 0.9424 MB / 469.3 MB, free: 11.64 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003366/0.008233, allocations: 342.4 kB / 469.7 MB, free: 11.31 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004504/0.008683, allocations: 498.7 kB / 470.2 MB, free: 10.82 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003593/0.009042, allocations: 321.2 kB / 470.5 MB, free: 10.51 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.443e-05/0.009087, allocations: 36.78 kB / 470.5 MB, free: 10.47 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.00925, allocations: 107.7 kB / 470.6 MB, free: 10.37 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.00937, allocations: 192 kB / 470.8 MB, free: 10.18 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.009514, allocations: 208.1 kB / 471 MB, free: 9.977 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004104/0.009924, allocations: 0.5098 MB / 471.5 MB, free: 9.465 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.009926, allocations: 0.8438 kB / 471.5 MB, free: 9.465 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.009927, allocations: 0 / 471.5 MB, free: 9.465 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.009934, allocations: 0.6562 kB / 471.5 MB, free: 9.465 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.000683/0.01062, allocations: 0.8043 MB / 472.3 MB, free: 8.645 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.773e-05/0.01064, allocations: 12.75 kB / 472.3 MB, free: 8.633 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005513/0.0112, allocations: 194.4 kB / 472.5 MB, free: 8.445 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004698/0.01167, allocations: 472.8 kB / 473 MB, free: 7.969 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.01169, allocations: 37.36 kB / 473 MB, free: 7.934 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.821e-05/0.01174, allocations: 48.36 kB / 473.1 MB, free: 7.887 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000477/0.01221, allocations: 0.7235 MB / 473.8 MB, free: 7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.01223, allocations: 13.27 kB / 473.8 MB, free: 6.988 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.01226, allocations: 22.02 kB / 473.8 MB, free: 6.969 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-05/0.01232, allocations: 72.89 kB / 473.9 MB, free: 6.898 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000232/0.01255, allocations: 232.4 kB / 474.1 MB, free: 6.676 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.01452, allocations: 4.168 MB / 478.3 MB, free: 2.348 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.01476, allocations: 288.4 kB / 478.6 MB, free: 2.066 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.507e-05/0.01484, allocations: 63.14 kB / 478.6 MB, free: 2.004 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.01486, allocations: 4.938 kB / 478.6 MB, free: 2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.01488, allocations: 38.56 kB / 478.7 MB, free: 1.953 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 2.224e-06/0.01488, allocations: 1.031 kB / 478.7 MB, free: 1.953 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008414/0.01572, allocations: 0.4974 MB / 479.2 MB, free: 1.434 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.01574, allocations: 55.69 kB / 479.2 MB, free: 1.367 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.01597, allocations: 443 kB / 479.7 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.01599, allocations: 36.48 kB / 479.7 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.01611, allocations: 325.2 kB / 480 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.847e-05/0.01616, allocations: 119 kB / 480.1 MB, free: 452 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.903e-05/0.01625, allocations: 110.2 kB / 480.2 MB, free: 336 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.01636, allocations: 370.6 kB / 480.6 MB, free: 15.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.599e-05/0.01642, allocations: 57.28 kB / 480.7 MB, free: 15.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.01659, allocations: 315.3 kB / 481 MB, free: 15.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.01689, allocations: 447.2 kB / 481.4 MB, free: 14.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.0169, allocations: 4 kB / 481.4 MB, free: 14.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004678/0.01737, allocations: 490 kB / 481.9 MB, free: 14.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.01738, allocations: 8.531 kB / 481.9 MB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.01739, allocations: 12.52 kB / 481.9 MB, free: 14.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002384/0.01763, allocations: 119.7 kB / 482 MB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.01785, allocations: 119.8 kB / 482.1 MB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/0.01943, allocations: 3.601 MB / 485.7 MB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.01958, allocations: 16 kB / 485.8 MB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.0196, allocations: 24 kB / 485.8 MB, free: 10.25 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.0001127/0.01971, allocations: 166.7 kB / 486 MB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.01976, allocations: 45.27 kB / 486 MB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003338/0.0201, allocations: 302 kB / 486.3 MB, free: 9.715 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.0201, allocations: 10.28 kB / 486.3 MB, free: 9.707 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.0201, allocations: 8.938 kB / 486.3 MB, free: 9.699 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.02011, allocations: 3.984 kB / 486.3 MB, free: 9.695 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006374/0.02074, allocations: 0.6792 MB / 487 MB, free: 8.949 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.02074, allocations: 0 / 487 MB, free: 8.949 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.02086, allocations: 47.97 kB / 487 MB, free: 8.902 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001934/0.02106, allocations: 113.1 kB / 487.1 MB, free: 8.773 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.02107, allocations: 4 kB / 487.2 MB, free: 8.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/0.02253, allocations: 3.599 MB / 490.8 MB, free: 4.891 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.02254, allocations: 4 kB / 490.8 MB, free: 4.887 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.0229, allocations: 475.2 kB / 491.2 MB, free: 4.363 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.348e-05/0.02298, allocations: 71.59 kB / 491.3 MB, free: 4.293 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.02301, allocations: 9.406 kB / 491.3 MB, free: 4.285 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.02312, allocations: 8.625 kB / 491.3 MB, free: 4.277 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.02316, allocations: 35.88 kB / 491.3 MB, free: 4.242 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.02317, allocations: 11.94 kB / 491.4 MB, free: 4.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001142/0.02329, allocations: 185.7 kB / 491.5 MB, free: 4.051 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02329, allocations: 0 / 491.5 MB, free: 4.051 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003361/0.02362, allocations: 144 kB / 491.7 MB, free: 3.91 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 7.481e-05/0.0237, allocations: 89.72 kB / 491.8 MB, free: 3.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005187/0.02422, allocations: 0.6218 MB / 492.4 MB, free: 3.156 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/0.02423, allocations: 10 kB / 492.4 MB, free: 3.148 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002987/0.02453, allocations: 473.4 kB / 492.9 MB, free: 2.641 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.02499, allocations: 199.5 kB / 493.1 MB, free: 2.469 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.026, allocations: 0.9585 MB / 494 MB, free: 1.461 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.258e-05/0.02609, allocations: 150.8 kB / 494.2 MB, free: 1.293 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001669/0.02626, allocations: 67.62 kB / 494.2 MB, free: 1.238 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.0265, allocations: 177.9 kB / 494.4 MB, free: 1.066 MB / 442.7 MB Notification: Performance of SimCode: time 5.91e-07/0.0265, allocations: 0 / 494.4 MB, free: 1.066 MB / 442.7 MB Notification: Performance of Templates: time 0.009966/0.03646, allocations: 8.389 MB / 0.491 GB, free: 9.129 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.583686050027609]