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.0008218/0.0008218, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008217/0.0008217, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8955/0.8955, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.001665/0.001665, allocations: 240.2 kB / 259.4 MB, free: 13.01 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.6893/0.6893, allocations: 138.4 MB / 454.3 MB, free: 30.01 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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.259e-05, allocations: 10.16 kB / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.2709/0.2709, allocations: 4.562 MB / 0.6507 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002676/0.2736, allocations: 2.382 MB / 0.6531 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002773/0.2739, allocations: 36.5 kB / 0.6531 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000774/0.2747, allocations: 400.7 kB / 0.6535 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0006722/0.2753, allocations: 493.5 kB / 0.654 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005661/0.2759, allocations: 366.7 kB / 0.6543 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0006449/0.2765, allocations: 0.9483 MB / 0.6552 GB, free: 52.67 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004168/0.277, allocations: 318.6 kB / 0.6555 GB, free: 52.53 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005045/0.2775, allocations: 499.2 kB / 0.656 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003335/0.2778, allocations: 303.7 kB / 0.6563 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.759e-05/0.2779, allocations: 41.06 kB / 0.6563 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004436/0.2783, allocations: 368 kB / 0.6567 GB, free: 52.12 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.2784, allocations: 191.5 kB / 0.6569 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.2786, allocations: 212.1 kB / 0.6571 GB, free: 51.95 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007096/0.2793, allocations: 0.8932 MB / 0.658 GB, free: 51.66 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2793, allocations: 5.688 kB / 0.658 GB, free: 51.65 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2793, allocations: 0 / 0.658 GB, free: 51.65 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.2793, allocations: 0 / 0.658 GB, free: 51.65 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.0008543/0.2802, allocations: 0.8754 MB / 0.6588 GB, free: 51.03 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.2802, allocations: 12.31 kB / 0.6588 GB, free: 51.03 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.697e-05/0.2803, allocations: 94.45 kB / 0.6589 GB, free: 50.96 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006765/0.2809, allocations: 211.3 kB / 0.6591 GB, free: 50.91 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.2815, allocations: 480.3 kB / 0.6596 GB, free: 50.61 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.2815, allocations: 35.89 kB / 0.6596 GB, free: 50.6 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/0.2815, allocations: 45.33 kB / 0.6597 GB, free: 50.59 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006826/0.2822, allocations: 0.9699 MB / 0.6606 GB, free: 49.86 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.2822, allocations: 7.656 kB / 0.6606 GB, free: 49.86 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.375e-05/0.2823, allocations: 29.42 kB / 0.6606 GB, free: 49.84 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.978e-05/0.2823, allocations: 68.16 kB / 0.6607 GB, free: 49.83 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005576/0.2829, allocations: 0.567 MB / 0.6613 GB, free: 49.62 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.2849, allocations: 4.704 MB / 0.6658 GB, free: 45.57 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.2854, allocations: 416.8 kB / 0.6662 GB, free: 45.43 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.2856, allocations: 202.6 kB / 0.6664 GB, free: 45.36 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.2856, allocations: 4.078 kB / 0.6664 GB, free: 45.36 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.2856, allocations: 36.75 kB / 0.6665 GB, free: 45.31 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=32): time 1.603e-06/0.2856, allocations: 4 kB / 0.6665 GB, free: 45.31 MB / 0.5573 GB Notification: Performance of matching and sorting (n=33): time 0.001539/0.2871, allocations: 1.143 MB / 0.6676 GB, free: 44.83 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.2872, allocations: 59.16 kB / 0.6677 GB, free: 44.76 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003616/0.2875, allocations: 0.5027 MB / 0.6681 GB, free: 44.52 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.2876, allocations: 29.7 kB / 0.6682 GB, free: 44.48 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.2877, allocations: 362 kB / 0.6685 GB, free: 44.18 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.264e-05/0.2877, allocations: 123.5 kB / 0.6686 GB, free: 44.09 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.625e-05/0.2878, allocations: 111.8 kB / 0.6687 GB, free: 44.02 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.382e-05/0.2879, allocations: 364.7 kB / 0.6691 GB, free: 43.69 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.2881, allocations: 200.7 kB / 0.6693 GB, free: 43.62 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.2883, allocations: 452.3 kB / 0.6697 GB, free: 43.23 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.2888, allocations: 0.6886 MB / 0.6704 GB, free: 42.71 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2888, allocations: 2.594 kB / 0.6704 GB, free: 42.71 MB / 0.5573 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007498/0.2895, allocations: 0.8127 MB / 0.6712 GB, free: 42.35 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.2896, allocations: 9 kB / 0.6712 GB, free: 42.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.2896, allocations: 8.438 kB / 0.6712 GB, free: 42.35 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002944/0.2899, allocations: 154.6 kB / 0.6713 GB, free: 42.29 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.2901, allocations: 123.6 kB / 0.6715 GB, free: 42.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.2916, allocations: 4.031 MB / 0.6754 GB, free: 38.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.2918, allocations: 34.28 kB / 0.6754 GB, free: 38.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.2918, allocations: 27.31 kB / 0.6755 GB, free: 38.38 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.0001554/0.292, allocations: 225 kB / 0.6757 GB, free: 38.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.292, allocations: 59.66 kB / 0.6757 GB, free: 38.17 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005866/0.2926, allocations: 0.5954 MB / 0.6763 GB, free: 37.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2926, allocations: 3.719 kB / 0.6763 GB, free: 37.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2926, allocations: 1.688 kB / 0.6763 GB, free: 37.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2926, allocations: 3.328 kB / 0.6763 GB, free: 37.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009857/0.2936, allocations: 1.183 MB / 0.6775 GB, free: 37.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2936, allocations: 0 / 0.6775 GB, free: 37.24 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.2937, allocations: 57.11 kB / 0.6775 GB, free: 37.24 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000196/0.2939, allocations: 137.2 kB / 0.6777 GB, free: 37.18 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.2939, allocations: 8.562 kB / 0.6777 GB, free: 37.17 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.2951, allocations: 4.02 MB / 0.6816 GB, free: 33.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2951, allocations: 0 / 0.6816 GB, free: 33.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004982/0.2956, allocations: 0.7051 MB / 0.6823 GB, free: 32.89 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.2957, allocations: 93.22 kB / 0.6824 GB, free: 32.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.2957, allocations: 11.52 kB / 0.6824 GB, free: 32.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.2958, allocations: 21.72 kB / 0.6824 GB, free: 32.83 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.2959, allocations: 39.33 kB / 0.6824 GB, free: 32.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.2959, allocations: 11.28 kB / 0.6825 GB, free: 32.81 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001983/0.2961, allocations: 336.3 kB / 0.6828 GB, free: 32.66 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.2961, allocations: 0 / 0.6828 GB, free: 32.66 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004001/0.2965, allocations: 141 kB / 0.6829 GB, free: 32.64 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 0.0006724/0.2972, allocations: 1.254 MB / 0.6841 GB, free: 31.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007427/0.2979, allocations: 0.8597 MB / 0.685 GB, free: 31.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2979, allocations: 3.938 kB / 0.685 GB, free: 31.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003505/0.2983, allocations: 0.5786 MB / 0.6855 GB, free: 30.75 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000599/0.2989, allocations: 200.2 kB / 0.6857 GB, free: 30.71 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004343/0.3032, allocations: 5.097 MB / 0.6907 GB, free: 27.48 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.3035, allocations: 309.6 kB / 0.691 GB, free: 27.37 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003007/0.3038, allocations: 119.4 kB / 0.6911 GB, free: 27.35 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.3039, allocations: 191.3 kB / 0.6913 GB, free: 27.21 MB / 0.5573 GB Notification: Performance of SimCode: time 8.12e-07/0.3039, allocations: 0 / 0.6913 GB, free: 27.21 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03484/0.3388, allocations: 14.28 MB / 0.7052 GB, free: 23.23 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.147/7.486, allocations: 5.406 kB / 0.7052 GB, free: 23.23 MB / 0.5573 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.202490154653788] Failed to read output from testmodel.py, exit status != 0: 7.575516025535762 7.583549218 7.302381281 Calling exit ...