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.001281/0.001281, allocations: 76.23 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001387/0.001387, allocations: 165.3 kB / 22.45 MB, free: 5.371 MB / 14.72 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 1.427/1.427, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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.002457/0.002457, allocations: 245.2 kB / 259.4 MB, free: 460 kB / 238.1 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 1.067/1.067, allocations: 138.4 MB / 454.3 MB, free: 1.996 MB / 366.1 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.603e-06/1.603e-06, allocations: 0 / 0.6468 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.659e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006899/0.006926, allocations: 4.572 MB / 0.6512 GB, free: 456 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2783/0.2852, allocations: 2.377 MB / 0.6536 GB, free: 53.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003039/0.2855, allocations: 33.28 kB / 0.6536 GB, free: 53.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.2866, allocations: 413.8 kB / 0.654 GB, free: 53.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008463/0.2875, allocations: 476.8 kB / 0.6544 GB, free: 53.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007422/0.2882, allocations: 385.8 kB / 0.6548 GB, free: 53.45 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007036/0.2889, allocations: 0.9448 MB / 0.6557 GB, free: 53.22 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003976/0.2893, allocations: 318.2 kB / 0.656 GB, free: 53.1 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004879/0.2898, allocations: 492 kB / 0.6565 GB, free: 52.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003695/0.2902, allocations: 309.9 kB / 0.6568 GB, free: 52.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.009e-05/0.2902, allocations: 39 kB / 0.6568 GB, free: 52.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004998/0.2907, allocations: 360.4 kB / 0.6572 GB, free: 52.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.2909, allocations: 198.6 kB / 0.6574 GB, free: 52.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002075/0.2911, allocations: 212.5 kB / 0.6576 GB, free: 52.64 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007788/0.2919, allocations: 0.9016 MB / 0.6585 GB, free: 52.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2919, allocations: 0.625 kB / 0.6585 GB, free: 52.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.183e-06/0.2919, allocations: 0 / 0.6585 GB, free: 52.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.447e-06/0.2919, allocations: 1.656 kB / 0.6585 GB, free: 52.38 MB / 0.5606 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.001146/0.293, allocations: 0.8802 MB / 0.6593 GB, free: 51.76 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.2931, allocations: 8.656 kB / 0.6593 GB, free: 51.76 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.2943, allocations: 213 kB / 0.6595 GB, free: 51.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006571/0.295, allocations: 470.1 kB / 0.66 GB, free: 51.43 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.295, allocations: 39.69 kB / 0.66 GB, free: 51.42 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.727e-05/0.2951, allocations: 42.5 kB / 0.6601 GB, free: 51.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008658/0.2959, allocations: 0.9734 MB / 0.661 GB, free: 50.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.296, allocations: 11.28 kB / 0.661 GB, free: 50.69 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.92e-05/0.296, allocations: 22.78 kB / 0.661 GB, free: 50.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.081e-05/0.2961, allocations: 72.47 kB / 0.6611 GB, free: 50.67 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006654/0.2968, allocations: 0.5677 MB / 0.6617 GB, free: 50.46 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002695/0.2995, allocations: 4.613 MB / 0.6662 GB, free: 46.47 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005378/0.3, allocations: 419.4 kB / 0.6666 GB, free: 46.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.3003, allocations: 210.8 kB / 0.6668 GB, free: 46.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.3003, allocations: 6.156 kB / 0.6668 GB, free: 46.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.3003, allocations: 34.56 kB / 0.6668 GB, free: 46.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.754e-06/0.3003, allocations: 0 / 0.6668 GB, free: 46.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002088/0.3024, allocations: 1.131 MB / 0.6679 GB, free: 45.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.3024, allocations: 58 kB / 0.668 GB, free: 45.67 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.3028, allocations: 471.4 kB / 0.6684 GB, free: 45.44 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.3028, allocations: 37.12 kB / 0.6685 GB, free: 45.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.3029, allocations: 369 kB / 0.6688 GB, free: 45.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.981e-05/0.303, allocations: 122.4 kB / 0.6689 GB, free: 45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.3031, allocations: 111.6 kB / 0.669 GB, free: 44.94 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.544e-05/0.3032, allocations: 364.9 kB / 0.6694 GB, free: 44.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.3034, allocations: 198.8 kB / 0.6696 GB, free: 44.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.3037, allocations: 448.4 kB / 0.67 GB, free: 44.15 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006093/0.3043, allocations: 0.6847 MB / 0.6707 GB, free: 43.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.3043, allocations: 2.625 kB / 0.6707 GB, free: 43.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00104/0.3054, allocations: 0.8032 MB / 0.6715 GB, free: 43.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3054, allocations: 7.875 kB / 0.6715 GB, free: 43.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.3054, allocations: 11.34 kB / 0.6715 GB, free: 43.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004587/0.3059, allocations: 157.4 kB / 0.6716 GB, free: 43.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/0.3063, allocations: 121.7 kB / 0.6717 GB, free: 43.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.3086, allocations: 3.965 MB / 0.6756 GB, free: 39.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.3089, allocations: 35.64 kB / 0.6756 GB, free: 39.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.309, allocations: 29.06 kB / 0.6757 GB, free: 39.4 MB / 0.5606 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.0002092/0.3092, allocations: 216.2 kB / 0.6759 GB, free: 39.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.135e-05/0.3092, allocations: 58.44 kB / 0.6759 GB, free: 39.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009247/0.3102, allocations: 0.5883 MB / 0.6765 GB, free: 38.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3102, allocations: 2.562 kB / 0.6765 GB, free: 38.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3102, allocations: 10.72 kB / 0.6765 GB, free: 38.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.3102, allocations: 2.109 kB / 0.6765 GB, free: 38.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.3116, allocations: 1.118 MB / 0.6776 GB, free: 38.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.3116, allocations: 2.938 kB / 0.6776 GB, free: 38.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.3119, allocations: 54.08 kB / 0.6777 GB, free: 38.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003785/0.3123, allocations: 148.6 kB / 0.6778 GB, free: 38.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.3123, allocations: 7.609 kB / 0.6778 GB, free: 38.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002257/0.3146, allocations: 3.945 MB / 0.6817 GB, free: 34.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.3146, allocations: 6.688 kB / 0.6817 GB, free: 34.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008384/0.3154, allocations: 0.7042 MB / 0.6824 GB, free: 34.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.3156, allocations: 99.41 kB / 0.6825 GB, free: 33.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.221e-05/0.3156, allocations: 11.41 kB / 0.6825 GB, free: 33.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.3159, allocations: 22.14 kB / 0.6825 GB, free: 33.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.38e-05/0.316, allocations: 33.47 kB / 0.6825 GB, free: 33.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.316, allocations: 12.06 kB / 0.6825 GB, free: 33.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002674/0.3163, allocations: 302.2 kB / 0.6828 GB, free: 33.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3163, allocations: 0 / 0.6828 GB, free: 33.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005992/0.3169, allocations: 138.5 kB / 0.683 GB, free: 33.81 MB / 0.5606 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 0.0001225/0.317, allocations: 114.5 kB / 0.6831 GB, free: 33.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001136/0.3181, allocations: 0.846 MB / 0.6839 GB, free: 33.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3181, allocations: 0 / 0.6839 GB, free: 33.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006432/0.3188, allocations: 0.5849 MB / 0.6845 GB, free: 32.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.3198, allocations: 189.4 kB / 0.6846 GB, free: 32.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.3212, allocations: 1.034 MB / 0.6857 GB, free: 32.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.3216, allocations: 304.5 kB / 0.6859 GB, free: 32.03 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003006/0.3219, allocations: 116.2 kB / 0.6861 GB, free: 32.01 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.718e-05/0.322, allocations: 42.77 kB / 0.6861 GB, free: 32 MB / 0.5606 GB Notification: Performance of SimCode: time 4.8e-07/0.322, allocations: 0 / 0.6861 GB, free: 32 MB / 0.5606 GB Notification: Performance of Templates: time 0.01565/0.3376, allocations: 7.754 MB / 0.6937 GB, free: 31.19 MB / 0.5606 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.030537664890289] Failed to read output from testmodel.py, exit status != 0: 0.34589698165655136 0.357694387 0.063149325 Calling exit ...