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.001686/0.001686, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001564/0.001564, allocations: 215.2 kB / 22.99 MB, free: 4.945 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.002513/0.002513, allocations: 280.1 kB / 313.5 MB, free: 2.609 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.305/1.305, allocations: 180.6 MB / 0.5377 GB, free: 14.46 MB / 382.1 MB " [Timeout remaining time 178] 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.002989/0.002989, allocations: 109.5 kB / 0.7407 GB, free: 27.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1828, allocations: 95.39 MB / 0.8339 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006561/0.1894, allocations: 4.608 MB / 0.8384 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004246/0.1937, allocations: 2.405 MB / 0.8407 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003131/0.194, allocations: 35.62 kB / 0.8408 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.1952, allocations: 406.5 kB / 0.8411 GB, free: 348 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.1962, allocations: 469.6 kB / 0.8416 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008641/0.1971, allocations: 377.4 kB / 0.8419 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009981/0.1981, allocations: 0.91 MB / 0.8428 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005259/0.1986, allocations: 330.3 kB / 0.8432 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004857/0.1991, allocations: 354.6 kB / 0.8435 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000502/0.1996, allocations: 346.4 kB / 0.8438 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.506e-05/0.1997, allocations: 36 kB / 0.8439 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006187/0.2003, allocations: 363.1 kB / 0.8442 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.2005, allocations: 187.3 kB / 0.8444 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002666/0.2008, allocations: 258.7 kB / 0.8446 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.2018, allocations: 0.887 MB / 0.8455 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2018, allocations: 0 / 0.8455 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.526e-06/0.2018, allocations: 4 kB / 0.8455 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.2018, allocations: 0 / 0.8455 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.001445/0.2032, allocations: 0.8896 MB / 0.8464 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2033, allocations: 9.344 kB / 0.8464 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.2045, allocations: 204.2 kB / 0.8466 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008712/0.2054, allocations: 480.8 kB / 0.847 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.797e-05/0.2054, allocations: 33.38 kB / 0.8471 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.596e-05/0.2055, allocations: 44.36 kB / 0.8471 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.2067, allocations: 0.9818 MB / 0.8481 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.2067, allocations: 11.94 kB / 0.8481 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.871e-05/0.2068, allocations: 27.92 kB / 0.8481 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.7e-05/0.2069, allocations: 68.94 kB / 0.8482 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008802/0.2077, allocations: 0.5578 MB / 0.8487 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004621/0.2124, allocations: 4.643 MB / 0.8532 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006327/0.213, allocations: 418.8 kB / 0.8536 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/0.2133, allocations: 204.7 kB / 0.8538 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.2133, allocations: 4.531 kB / 0.8538 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.2133, allocations: 38.56 kB / 0.8539 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 2.685e-06/0.2133, allocations: 0 / 0.8539 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.00242/0.2158, allocations: 1.13 MB / 0.855 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.2158, allocations: 63.61 kB / 0.855 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004836/0.2163, allocations: 474.6 kB / 0.8555 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.2163, allocations: 29.7 kB / 0.8555 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/0.2166, allocations: 376.2 kB / 0.8559 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.2167, allocations: 115 kB / 0.856 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.2169, allocations: 118.2 kB / 0.8561 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.217, allocations: 362.8 kB / 0.8565 GB, free: 144 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.2173, allocations: 193.3 kB / 0.8566 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005096/0.2179, allocations: 443.3 kB / 0.8571 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009154/0.2188, allocations: 0.6952 MB / 0.8577 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.2188, allocations: 4 kB / 0.8577 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001323/0.2201, allocations: 0.8021 MB / 0.8585 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.2201, allocations: 10.34 kB / 0.8585 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.2201, allocations: 8 kB / 0.8585 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005099/0.2206, allocations: 156.5 kB / 0.8587 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004552/0.2211, allocations: 119.8 kB / 0.8588 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003567/0.2247, allocations: 3.977 MB / 0.8627 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.225, allocations: 31.97 kB / 0.8627 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/0.2251, allocations: 28 kB / 0.8627 GB, free: 9.121 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.0002779/0.2254, allocations: 210.4 kB / 0.8629 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.073e-05/0.2254, allocations: 67.56 kB / 0.863 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.2265, allocations: 0.5924 MB / 0.8636 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.2265, allocations: 7.984 kB / 0.8636 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2265, allocations: 0 / 0.8636 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.2265, allocations: 0 / 0.8636 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.2285, allocations: 1.117 MB / 0.8647 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2285, allocations: 4.031 kB / 0.8647 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/0.2287, allocations: 63.83 kB / 0.8648 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004123/0.2292, allocations: 140.2 kB / 0.8649 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.2292, allocations: 12 kB / 0.8649 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003699/0.2329, allocations: 3.954 MB / 0.8688 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.2329, allocations: 7.969 kB / 0.8688 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.234, allocations: 0.7007 MB / 0.8695 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/0.2342, allocations: 83.59 kB / 0.8695 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.76e-05/0.2343, allocations: 11.98 kB / 0.8695 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.2345, allocations: 19.97 kB / 0.8696 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.2346, allocations: 31.89 kB / 0.8696 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.2346, allocations: 12 kB / 0.8696 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003389/0.2349, allocations: 306.8 kB / 0.8699 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2349, allocations: 8.094 kB / 0.8699 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006548/0.2356, allocations: 140 kB / 0.87 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.0001434/0.2357, allocations: 99.25 kB / 0.8701 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.2371, allocations: 0.8549 MB / 0.871 GB, free: 172 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.2371, allocations: 11.94 kB / 0.871 GB, free: 160 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008394/0.238, allocations: 0.5758 MB / 0.8715 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.0009487/0.2389, allocations: 193.1 kB / 0.8717 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.2407, allocations: 1.095 MB / 0.8728 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.241, allocations: 311.4 kB / 0.8731 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.2411, allocations: 39.44 kB / 0.8731 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of SimCode: time 5.91e-07/0.2411, allocations: 0 / 0.8731 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of Templates: time 0.02354/0.2647, allocations: 18.09 MB / 0.8908 GB, free: 11.76 MB / 0.6387 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: 11.10524129262194] Failed to read output from testmodel.py, exit status != 0: 0.27230081195011735 0.28790766599999995 0.08288429800000001 Calling exit ...