Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001059/0.001059, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008029/0.0008029, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8674/0.8674, 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.001367/0.001367, allocations: 242.3 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.6882/0.6882, allocations: 138.4 MB / 454.3 MB, free: 30.03 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.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.509e-05/1.671e-05, allocations: 8.75 kB / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.2478/0.2478, allocations: 5.813 MB / 0.652 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002869/0.2506, allocations: 3.076 MB / 0.655 GB, free: 52.67 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.2508, allocations: 41.44 kB / 0.655 GB, free: 52.65 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.252, allocations: 0.9305 MB / 0.6559 GB, free: 52.12 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0005812/0.2526, allocations: 0.5019 MB / 0.6564 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005579/0.2532, allocations: 495.1 kB / 0.6569 GB, free: 51.58 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0006829/0.2538, allocations: 1.123 MB / 0.658 GB, free: 51.06 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005511/0.2544, allocations: 0.5124 MB / 0.6585 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005141/0.2549, allocations: 0.6034 MB / 0.6591 GB, free: 50.57 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004134/0.2553, allocations: 425.3 kB / 0.6595 GB, free: 50.45 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.207e-05/0.2554, allocations: 58.56 kB / 0.6595 GB, free: 50.45 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004056/0.2558, allocations: 447.6 kB / 0.66 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.256, allocations: 317.3 kB / 0.6603 GB, free: 50.16 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.2562, allocations: 268.5 kB / 0.6605 GB, free: 50.05 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0009124/0.2571, allocations: 1.204 MB / 0.6617 GB, free: 49.66 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2571, allocations: 0 / 0.6617 GB, free: 49.66 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2571, allocations: 0 / 0.6617 GB, free: 49.66 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.2571, allocations: 0 / 0.6617 GB, free: 49.66 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001046/0.2582, allocations: 0.9988 MB / 0.6627 GB, free: 48.96 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.2582, allocations: 11.69 kB / 0.6627 GB, free: 48.96 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.617e-05/0.2583, allocations: 112.8 kB / 0.6628 GB, free: 48.89 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008007/0.2591, allocations: 228 kB / 0.663 GB, free: 48.83 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005506/0.2597, allocations: 0.5195 MB / 0.6635 GB, free: 48.52 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.2597, allocations: 46.86 kB / 0.6636 GB, free: 48.5 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/0.2598, allocations: 62.14 kB / 0.6636 GB, free: 48.48 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009095/0.2607, allocations: 1.135 MB / 0.6647 GB, free: 47.75 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.2607, allocations: 7.484 kB / 0.6647 GB, free: 47.75 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.2607, allocations: 35.77 kB / 0.6648 GB, free: 47.72 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.576e-05/0.2608, allocations: 71.81 kB / 0.6648 GB, free: 47.71 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006533/0.2614, allocations: 0.6931 MB / 0.6655 GB, free: 47.46 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002428/0.2639, allocations: 4.487 MB / 0.6699 GB, free: 43.88 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005052/0.2644, allocations: 412.6 kB / 0.6703 GB, free: 43.72 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004585/0.2648, allocations: 390.5 kB / 0.6707 GB, free: 43.6 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.2649, allocations: 3.531 kB / 0.6707 GB, free: 43.6 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.446e-05/0.2649, allocations: 38.19 kB / 0.6707 GB, free: 43.56 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=41): time 1.593e-06/0.2649, allocations: 0 / 0.6707 GB, free: 43.56 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42): time 0.002509/0.2674, allocations: 1.732 MB / 0.6724 GB, free: 42.89 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.2674, allocations: 67.62 kB / 0.6725 GB, free: 42.81 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.2677, allocations: 460.4 kB / 0.6729 GB, free: 42.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.2677, allocations: 34.8 kB / 0.6729 GB, free: 42.55 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.2678, allocations: 400.4 kB / 0.6733 GB, free: 42.23 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.99e-05/0.2679, allocations: 153.8 kB / 0.6735 GB, free: 42.11 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.621e-05/0.268, allocations: 107.4 kB / 0.6736 GB, free: 42.05 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.984e-05/0.268, allocations: 364.8 kB / 0.6739 GB, free: 41.72 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.2683, allocations: 241.2 kB / 0.6741 GB, free: 41.64 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.2686, allocations: 458.3 kB / 0.6746 GB, free: 41.29 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005578/0.2691, allocations: 0.7607 MB / 0.6753 GB, free: 40.77 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2691, allocations: 3.719 kB / 0.6753 GB, free: 40.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00105/0.2702, allocations: 1.04 MB / 0.6763 GB, free: 40.34 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2702, allocations: 12.08 kB / 0.6764 GB, free: 40.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.2702, allocations: 15.19 kB / 0.6764 GB, free: 40.33 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005759/0.2708, allocations: 323.8 kB / 0.6767 GB, free: 40.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.271, allocations: 94.86 kB / 0.6768 GB, free: 40.22 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003808/0.2748, allocations: 7.06 MB / 0.6837 GB, free: 34.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.275, allocations: 29.03 kB / 0.6837 GB, free: 34.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.275, allocations: 25.89 kB / 0.6837 GB, free: 34.38 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002106/0.2752, allocations: 245.9 kB / 0.6839 GB, free: 34.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.2753, allocations: 66.62 kB / 0.684 GB, free: 34.16 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.2764, allocations: 0.8967 MB / 0.6849 GB, free: 33.78 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2764, allocations: 4.625 kB / 0.6849 GB, free: 33.78 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2764, allocations: 4.875 kB / 0.6849 GB, free: 33.78 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2764, allocations: 2.016 kB / 0.6849 GB, free: 33.78 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.278, allocations: 1.594 MB / 0.6865 GB, free: 32.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.278, allocations: 0.875 kB / 0.6865 GB, free: 32.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.217e-05/0.2781, allocations: 46.3 kB / 0.6865 GB, free: 32.97 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005128/0.2786, allocations: 309.9 kB / 0.6868 GB, free: 32.88 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.2786, allocations: 12.97 kB / 0.6868 GB, free: 32.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004018/0.2827, allocations: 7.064 MB / 0.6937 GB, free: 27.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2827, allocations: 6.641 kB / 0.6937 GB, free: 27.03 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.2837, allocations: 0.9867 MB / 0.6947 GB, free: 26.52 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.2838, allocations: 100.8 kB / 0.6948 GB, free: 26.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.2839, allocations: 13.25 kB / 0.6948 GB, free: 26.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.284, allocations: 19.47 kB / 0.6948 GB, free: 26.46 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.2841, allocations: 46.06 kB / 0.6948 GB, free: 26.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.2841, allocations: 13.52 kB / 0.6949 GB, free: 26.45 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002772/0.2844, allocations: 306.9 kB / 0.6952 GB, free: 26.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2844, allocations: 0.9688 kB / 0.6952 GB, free: 26.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005827/0.285, allocations: 193.4 kB / 0.6953 GB, free: 26.28 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001151/0.2862, allocations: 1.55 MB / 0.6969 GB, free: 25.22 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001069/0.2872, allocations: 1.158 MB / 0.698 GB, free: 24.52 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2872, allocations: 0 / 0.698 GB, free: 24.52 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000611/0.2878, allocations: 0.8276 MB / 0.6988 GB, free: 23.93 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006275/0.2885, allocations: 205 kB / 0.699 GB, free: 23.88 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005569/0.294, allocations: 5.865 MB / 0.7047 GB, free: 20.45 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/0.2945, allocations: 392.9 kB / 0.7051 GB, free: 20.33 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002774/0.2948, allocations: 105.8 kB / 0.7052 GB, free: 20.32 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.295, allocations: 226.9 kB / 0.7054 GB, free: 20.14 MB / 0.5573 GB Notification: Performance of SimCode: time 1.022e-06/0.295, allocations: 1.125 kB / 0.7054 GB, free: 20.14 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03086/0.3258, allocations: 17.1 MB / 0.7221 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.122/7.448, allocations: 7.938 kB / 0.7221 GB, free: 12.2 MB / 0.5573 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_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_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.079177726060152] Failed to read output from testmodel.py, exit status != 0: 7.534519120119512 7.540438111 7.281574434 Calling exit ...