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.001339/0.001339, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001467/0.001467, allocations: 214 kB / 22.25 MB, free: 5.258 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.579/1.579, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.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.002596/0.002596, allocations: 291.9 kB / 312.7 MB, free: 2.582 MB / 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.233/1.233, allocations: 180.6 MB / 0.5369 GB, free: 14.53 MB / 382.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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003065/0.003065, allocations: 113.9 kB / 0.74 GB, free: 27.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1676, allocations: 95.38 MB / 0.8331 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006878/0.1744, allocations: 4.622 MB / 0.8376 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004329/0.1788, allocations: 2.401 MB / 0.84 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003264/0.1791, allocations: 35.62 kB / 0.84 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.1803, allocations: 402.9 kB / 0.8404 GB, free: 348 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009473/0.1812, allocations: 465.7 kB / 0.8408 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008012/0.182, allocations: 381.8 kB / 0.8412 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009589/0.183, allocations: 0.9178 MB / 0.8421 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004657/0.1834, allocations: 318.3 kB / 0.8424 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000464/0.1839, allocations: 362.6 kB / 0.8428 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004682/0.1844, allocations: 346.4 kB / 0.8431 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.888e-05/0.1844, allocations: 40 kB / 0.8431 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005358/0.185, allocations: 359.2 kB / 0.8435 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.1852, allocations: 179.4 kB / 0.8436 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002778/0.1854, allocations: 266.6 kB / 0.8439 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009969/0.1864, allocations: 0.8871 MB / 0.8448 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1864, allocations: 0 / 0.8448 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1864, allocations: 0 / 0.8448 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.1865, allocations: 0 / 0.8448 GB, free: 11.86 MB / 0.5919 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.001367/0.1878, allocations: 0.8857 MB / 0.8456 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.1879, allocations: 9.344 kB / 0.8456 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.1891, allocations: 208.2 kB / 0.8458 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008731/0.1899, allocations: 480.8 kB / 0.8463 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.19, allocations: 33.36 kB / 0.8463 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.141e-05/0.19, allocations: 48.3 kB / 0.8464 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.1913, allocations: 0.9818 MB / 0.8473 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.1913, allocations: 7.938 kB / 0.8473 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.96e-05/0.1913, allocations: 23.98 kB / 0.8474 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.401e-05/0.1914, allocations: 64.95 kB / 0.8474 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00087/0.1923, allocations: 0.5578 MB / 0.848 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004221/0.1965, allocations: 4.646 MB / 0.8525 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006554/0.1972, allocations: 418.8 kB / 0.8529 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/0.1975, allocations: 200.7 kB / 0.8531 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.1975, allocations: 12.47 kB / 0.8531 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.1975, allocations: 38.56 kB / 0.8531 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.693e-06/0.1975, allocations: 0 / 0.8531 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002377/0.1999, allocations: 1.134 MB / 0.8542 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1999, allocations: 59.62 kB / 0.8543 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004831/0.2004, allocations: 474.6 kB / 0.8548 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.2005, allocations: 29.7 kB / 0.8548 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.2007, allocations: 372.2 kB / 0.8551 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.2008, allocations: 119 kB / 0.8553 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.201, allocations: 114.2 kB / 0.8554 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.2012, allocations: 358.8 kB / 0.8557 GB, free: 152 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003132/0.2015, allocations: 197.3 kB / 0.8559 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004965/0.202, allocations: 451.3 kB / 0.8563 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008788/0.2028, allocations: 0.6952 MB / 0.857 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2028, allocations: 3.938 kB / 0.857 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001307/0.2042, allocations: 0.7977 MB / 0.8578 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.2042, allocations: 12 kB / 0.8578 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.2042, allocations: 8.906 kB / 0.8578 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005031/0.2047, allocations: 152.1 kB / 0.858 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.2052, allocations: 123.8 kB / 0.8581 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003491/0.2086, allocations: 3.969 MB / 0.8619 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/0.209, allocations: 35.97 kB / 0.862 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.209, allocations: 32.31 kB / 0.862 GB, free: 9.113 MB / 0.6075 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.0002668/0.2093, allocations: 212.9 kB / 0.8622 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-05/0.2094, allocations: 67.56 kB / 0.8623 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.2105, allocations: 0.5963 MB / 0.8629 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.2105, allocations: 4 kB / 0.8629 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2105, allocations: 4 kB / 0.8629 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2105, allocations: 4 kB / 0.8629 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.2123, allocations: 1.113 MB / 0.864 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.2123, allocations: 4 kB / 0.864 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.2125, allocations: 51.89 kB / 0.864 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004173/0.2129, allocations: 152.4 kB / 0.8642 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.213, allocations: 4 kB / 0.8642 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003352/0.2163, allocations: 3.954 MB / 0.868 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.2163, allocations: 3.938 kB / 0.868 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.2173, allocations: 0.7007 MB / 0.8687 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002234/0.2176, allocations: 83.59 kB / 0.8688 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.018e-05/0.2176, allocations: 12.23 kB / 0.8688 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.2179, allocations: 27.97 kB / 0.8688 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/0.218, allocations: 35.83 kB / 0.8689 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.218, allocations: 12 kB / 0.8689 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003246/0.2183, allocations: 306.8 kB / 0.8692 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2183, allocations: 0 / 0.8692 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006116/0.2189, allocations: 140 kB / 0.8693 GB, free: 1.172 MB / 0.6075 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.0001366/0.219, allocations: 111.2 kB / 0.8694 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00135/0.2204, allocations: 0.8626 MB / 0.8702 GB, free: 152 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2204, allocations: 0 / 0.8702 GB, free: 152 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008301/0.2212, allocations: 0.5684 MB / 0.8708 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000934/0.2222, allocations: 202.9 kB / 0.871 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.2237, allocations: 1.046 MB / 0.872 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.2241, allocations: 303.4 kB / 0.8723 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002927/0.2243, allocations: 113 kB / 0.8724 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.516e-05/0.2244, allocations: 39.44 kB / 0.8725 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of SimCode: time 3.9e-07/0.2244, allocations: 0 / 0.8725 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of Templates: time 0.01509/0.2395, allocations: 8.507 MB / 0.8808 GB, free: 5.492 MB / 0.6231 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.430340506136417] Failed to read output from testmodel.py, exit status != 0: 0.24692626297473907 0.26186702900000003 0.072363278 Calling exit ...