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.0007806/0.0007806, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007766/0.0007766, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.8677/0.8677, allocations: 177.1 MB / 203.5 MB, free: 5.703 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.001497/0.001497, allocations: 238.3 kB / 260.2 MB, free: 13.03 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.6502/0.6502, allocations: 138.4 MB / 455.1 MB, free: 29.98 MB / 410.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 8.41e-07/8.41e-07, allocations: 0 / 0.6475 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.253e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.2339/0.2339, allocations: 4.562 MB / 0.652 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002134/0.236, allocations: 2.383 MB / 0.6543 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.2362, allocations: 36.28 kB / 0.6543 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005103/0.2367, allocations: 404.5 kB / 0.6547 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00047/0.2372, allocations: 481.5 kB / 0.6552 GB, free: 53.35 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.2376, allocations: 377.7 kB / 0.6555 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0005554/0.2381, allocations: 0.9488 MB / 0.6565 GB, free: 52.71 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.2384, allocations: 320.2 kB / 0.6568 GB, free: 52.57 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003822/0.2388, allocations: 487.4 kB / 0.6572 GB, free: 52.39 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.2391, allocations: 304.5 kB / 0.6575 GB, free: 52.3 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.123e-05/0.2391, allocations: 37.59 kB / 0.6576 GB, free: 52.3 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003227/0.2394, allocations: 369.6 kB / 0.6579 GB, free: 52.18 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.2396, allocations: 199.5 kB / 0.6581 GB, free: 52.08 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.2397, allocations: 209.1 kB / 0.6583 GB, free: 52 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007266/0.2404, allocations: 0.9019 MB / 0.6592 GB, free: 51.7 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2404, allocations: 0 / 0.6592 GB, free: 51.7 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2404, allocations: 3.75 kB / 0.6592 GB, free: 51.7 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.2405, allocations: 0 / 0.6592 GB, free: 51.7 MB / 0.5573 GB 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.0007608/0.2412, allocations: 0.8722 MB / 0.66 GB, free: 51.07 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.2412, allocations: 13.41 kB / 0.6601 GB, free: 51.07 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006664/0.2419, allocations: 218.1 kB / 0.6603 GB, free: 51.02 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/0.2424, allocations: 477.5 kB / 0.6607 GB, free: 50.72 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.2424, allocations: 36.58 kB / 0.6608 GB, free: 50.71 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.4e-05/0.2424, allocations: 44.7 kB / 0.6608 GB, free: 50.69 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006336/0.2431, allocations: 0.9706 MB / 0.6617 GB, free: 49.96 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.2431, allocations: 8.812 kB / 0.6618 GB, free: 49.96 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.2431, allocations: 22.47 kB / 0.6618 GB, free: 49.95 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-05/0.2432, allocations: 70.28 kB / 0.6618 GB, free: 49.94 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005313/0.2437, allocations: 0.568 MB / 0.6624 GB, free: 49.73 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.2455, allocations: 4.618 MB / 0.6669 GB, free: 45.74 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.2459, allocations: 419.1 kB / 0.6673 GB, free: 45.6 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.2461, allocations: 205.6 kB / 0.6675 GB, free: 45.53 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.2461, allocations: 2.938 kB / 0.6675 GB, free: 45.53 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.2462, allocations: 43.42 kB / 0.6675 GB, free: 45.48 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=32): time 1.132e-06/0.2462, allocations: 1.688 kB / 0.6675 GB, free: 45.48 MB / 0.5573 GB Notification: Performance of matching and sorting (n=33): time 0.001332/0.2475, allocations: 1.131 MB / 0.6687 GB, free: 45.01 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.586e-05/0.2475, allocations: 55.09 kB / 0.6687 GB, free: 44.95 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.2478, allocations: 473 kB / 0.6692 GB, free: 44.71 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.2478, allocations: 34.83 kB / 0.6692 GB, free: 44.67 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.2479, allocations: 365.6 kB / 0.6695 GB, free: 44.38 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.2479, allocations: 127.9 kB / 0.6697 GB, free: 44.27 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.355e-05/0.248, allocations: 116.1 kB / 0.6698 GB, free: 44.21 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.504e-05/0.2481, allocations: 363.3 kB / 0.6701 GB, free: 43.87 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.2483, allocations: 193.5 kB / 0.6703 GB, free: 43.81 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.2485, allocations: 444.6 kB / 0.6707 GB, free: 43.43 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004617/0.249, allocations: 0.6916 MB / 0.6714 GB, free: 42.9 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.249, allocations: 4 kB / 0.6714 GB, free: 42.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007067/0.2497, allocations: 0.8061 MB / 0.6722 GB, free: 42.54 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.2497, allocations: 10.98 kB / 0.6722 GB, free: 42.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.2497, allocations: 9.094 kB / 0.6722 GB, free: 42.54 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002425/0.25, allocations: 149.8 kB / 0.6724 GB, free: 42.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.2502, allocations: 124.2 kB / 0.6725 GB, free: 42.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.2515, allocations: 3.967 MB / 0.6763 GB, free: 38.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.2517, allocations: 36.97 kB / 0.6764 GB, free: 38.67 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.2517, allocations: 30.11 kB / 0.6764 GB, free: 38.67 MB / 0.5573 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.0001368/0.2518, allocations: 209.8 kB / 0.6766 GB, free: 38.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.2519, allocations: 60 kB / 0.6767 GB, free: 38.47 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005594/0.2524, allocations: 0.5921 MB / 0.6772 GB, free: 38.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2525, allocations: 3.406 kB / 0.6772 GB, free: 38.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2525, allocations: 6.625 kB / 0.6773 GB, free: 38.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.2525, allocations: 7.125 kB / 0.6773 GB, free: 38.19 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009029/0.2534, allocations: 1.11 MB / 0.6783 GB, free: 37.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2534, allocations: 7.844 kB / 0.6784 GB, free: 37.57 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.2535, allocations: 60.7 kB / 0.6784 GB, free: 37.57 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001883/0.2537, allocations: 140.8 kB / 0.6785 GB, free: 37.51 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.2537, allocations: 7.562 kB / 0.6786 GB, free: 37.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.2548, allocations: 3.949 MB / 0.6824 GB, free: 33.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2548, allocations: 6.812 kB / 0.6824 GB, free: 33.73 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004798/0.2553, allocations: 0.7063 MB / 0.6831 GB, free: 33.32 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.81e-05/0.2554, allocations: 86.31 kB / 0.6832 GB, free: 33.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.2554, allocations: 7.656 kB / 0.6832 GB, free: 33.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.2555, allocations: 24.25 kB / 0.6832 GB, free: 33.26 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.2556, allocations: 38.97 kB / 0.6833 GB, free: 33.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.2556, allocations: 7.188 kB / 0.6833 GB, free: 33.25 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001809/0.2558, allocations: 304.8 kB / 0.6836 GB, free: 33.11 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2558, allocations: 0.6562 kB / 0.6836 GB, free: 33.11 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000349/0.2561, allocations: 139.5 kB / 0.6837 GB, free: 33.09 MB / 0.5573 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 8.957e-05/0.2562, allocations: 110.6 kB / 0.6838 GB, free: 32.99 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008159/0.257, allocations: 0.853 MB / 0.6846 GB, free: 32.48 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.257, allocations: 0 / 0.6846 GB, free: 32.48 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.2574, allocations: 0.5795 MB / 0.6852 GB, free: 32.05 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005415/0.2579, allocations: 194.4 kB / 0.6854 GB, free: 32.01 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.259, allocations: 1.071 MB / 0.6864 GB, free: 31.38 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.2593, allocations: 312.7 kB / 0.6867 GB, free: 31.26 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.774e-05/0.2594, allocations: 42.75 kB / 0.6868 GB, free: 31.25 MB / 0.5573 GB Notification: Performance of SimCode: time 4.51e-07/0.2594, allocations: 0 / 0.6868 GB, free: 31.25 MB / 0.5573 GB Notification: Performance of Templates: time 0.01455/0.2739, allocations: 18.09 MB / 0.7044 GB, free: 25.22 MB / 0.5573 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.581272422336042] Failed to read output from testmodel.py, exit status != 0: 0.27881431486457586 0.28689390200000003 0.044809741 Calling exit ...