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.001655/0.001655, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002106/0.002106, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.002523/0.002523, allocations: 279.9 kB / 313.5 MB, free: 2.824 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.213/1.213, allocations: 180.6 MB / 0.5377 GB, free: 13.01 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.004306/0.004306, allocations: 107.2 kB / 0.7408 GB, free: 27.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2146, allocations: 95.38 MB / 0.834 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006895/0.2215, allocations: 5.019 MB / 0.8389 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00419/0.2256, allocations: 2.553 MB / 0.8414 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002423/0.2259, allocations: 35.62 kB / 0.8414 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.227, allocations: 425.8 kB / 0.8418 GB, free: 112 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008553/0.2279, allocations: 465.8 kB / 0.8422 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007558/0.2287, allocations: 380.4 kB / 0.8426 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009959/0.2296, allocations: 0.9138 MB / 0.8435 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004962/0.2301, allocations: 330.3 kB / 0.8438 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005249/0.2307, allocations: 350.7 kB / 0.8441 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005456/0.2312, allocations: 366.4 kB / 0.8445 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.374e-05/0.2313, allocations: 40 kB / 0.8445 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006247/0.2319, allocations: 415.1 kB / 0.8449 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002823/0.2322, allocations: 187.3 kB / 0.8451 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003137/0.2325, allocations: 322.2 kB / 0.8454 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.2335, allocations: 0.8831 MB / 0.8463 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2335, allocations: 0 / 0.8463 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2335, allocations: 0 / 0.8463 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.2335, allocations: 0 / 0.8463 GB, free: 11.5 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.001374/0.2349, allocations: 0.8819 MB / 0.8471 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.2349, allocations: 9.344 kB / 0.8472 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.2361, allocations: 204.2 kB / 0.8473 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008342/0.2369, allocations: 488.7 kB / 0.8478 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/0.237, allocations: 33.38 kB / 0.8478 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.184e-05/0.2371, allocations: 44.36 kB / 0.8479 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.2383, allocations: 0.8485 MB / 0.8487 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.2383, allocations: 11.94 kB / 0.8487 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.288e-05/0.2383, allocations: 27.97 kB / 0.8488 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.152e-05/0.2384, allocations: 64.95 kB / 0.8488 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008644/0.2393, allocations: 0.5616 MB / 0.8494 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004966/0.2443, allocations: 5.586 MB / 0.8548 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000679/0.2449, allocations: 423.6 kB / 0.8552 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.2452, allocations: 200.7 kB / 0.8554 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.2453, allocations: 4 kB / 0.8554 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.2453, allocations: 35.09 kB / 0.8555 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.462e-06/0.2453, allocations: 8 kB / 0.8555 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002637/0.2479, allocations: 1.134 MB / 0.8566 GB, free: 364 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.248, allocations: 55.69 kB / 0.8566 GB, free: 296 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006957/0.2487, allocations: 0.4911 MB / 0.8571 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/0.2487, allocations: 29.7 kB / 0.8571 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/0.2492, allocations: 367.7 kB / 0.8575 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.2493, allocations: 127 kB / 0.8576 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002997/0.2496, allocations: 114.2 kB / 0.8577 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002245/0.2498, allocations: 366.8 kB / 0.8581 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/0.2502, allocations: 193.2 kB / 0.8582 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006979/0.2509, allocations: 455.3 kB / 0.8587 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.2522, allocations: 0.6796 MB / 0.8593 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.2522, allocations: 11.94 kB / 0.8593 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001911/0.2541, allocations: 0.81 MB / 0.8601 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.2541, allocations: 8 kB / 0.8601 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.2541, allocations: 12.09 kB / 0.8602 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006743/0.2548, allocations: 156.1 kB / 0.8603 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006294/0.2554, allocations: 123.7 kB / 0.8604 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004775/0.2602, allocations: 4.042 MB / 0.8644 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005631/0.2608, allocations: 31.97 kB / 0.8644 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.799e-05/0.2608, allocations: 28 kB / 0.8644 GB, free: 7.637 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.0003776/0.2612, allocations: 218.9 kB / 0.8646 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.2613, allocations: 63.69 kB / 0.8647 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/0.2629, allocations: 0.6046 MB / 0.8653 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.2629, allocations: 4 kB / 0.8653 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.2629, allocations: 0 / 0.8653 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.2629, allocations: 0 / 0.8653 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002784/0.2657, allocations: 1.238 MB / 0.8665 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.2657, allocations: 0 / 0.8665 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.266, allocations: 55.89 kB / 0.8666 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004106/0.2664, allocations: 140.4 kB / 0.8667 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.2664, allocations: 11.94 kB / 0.8667 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003963/0.2704, allocations: 4.023 MB / 0.8706 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2704, allocations: 160 / 0.8706 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.2719, allocations: 0.7084 MB / 0.8713 GB, free: 52 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/0.2722, allocations: 99.53 kB / 0.8714 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-05/0.2723, allocations: 8 kB / 0.8714 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.2727, allocations: 19.97 kB / 0.8714 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.2728, allocations: 39.81 kB / 0.8715 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-05/0.2729, allocations: 12 kB / 0.8715 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005668/0.2734, allocations: 334.8 kB / 0.8718 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2734, allocations: 0 / 0.8718 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009994/0.2744, allocations: 144 kB / 0.872 GB, free: 15.41 MB / 0.6231 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.000191/0.2746, allocations: 108 kB / 0.8721 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001829/0.2764, allocations: 0.8626 MB / 0.8729 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2765, allocations: 0 / 0.8729 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.2775, allocations: 0.5723 MB / 0.8735 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.2789, allocations: 206.3 kB / 0.8737 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.2814, allocations: 1.095 MB / 0.8747 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007789/0.2822, allocations: 0.9097 MB / 0.8756 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.2823, allocations: 43.44 kB / 0.8757 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of SimCode: time 7.52e-07/0.2823, allocations: 0 / 0.8757 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of Templates: time 0.02584/0.3082, allocations: 18.08 MB / 0.8933 GB, free: 9.398 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: 10.882398518966511] Failed to read output from testmodel.py, exit status != 0: 0.3173447248991579 0.331631973 0.094976472 Calling exit ...