Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.0007023/0.0007023, 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.0007153/0.0007153, 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.8843/0.8843, 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.002057/0.002057, 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.674/0.674, allocations: 138.4 MB / 454.3 MB, free: 30.04 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_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.897e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.2576/0.2576, allocations: 6.399 MB / 0.6525 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.00365/0.2613, allocations: 2.986 MB / 0.6555 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004824/0.2618, allocations: 36.41 kB / 0.6555 GB, free: 52.3 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.2632, allocations: 0.9504 MB / 0.6564 GB, free: 51.77 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.2642, allocations: 0.5356 MB / 0.6569 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009/0.2651, allocations: 428.2 kB / 0.6573 GB, free: 51.24 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0009835/0.2661, allocations: 1.267 MB / 0.6586 GB, free: 50.64 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006884/0.2668, allocations: 0.5343 MB / 0.6591 GB, free: 50.39 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007227/0.2675, allocations: 0.6569 MB / 0.6598 GB, free: 50.13 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005027/0.268, allocations: 480.5 kB / 0.6602 GB, free: 49.99 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 7.606e-05/0.2681, allocations: 67.75 kB / 0.6603 GB, free: 49.99 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005845/0.2686, allocations: 350 kB / 0.6606 GB, free: 49.89 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002275/0.2689, allocations: 334.5 kB / 0.6609 GB, free: 49.73 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002336/0.2691, allocations: 308.3 kB / 0.6612 GB, free: 49.61 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.2702, allocations: 1.245 MB / 0.6624 GB, free: 49.2 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.2702, allocations: 1.812 kB / 0.6624 GB, free: 49.2 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2702, allocations: 1.156 kB / 0.6624 GB, free: 49.2 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.2702, allocations: 0 / 0.6624 GB, free: 49.2 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001244/0.2714, allocations: 1.105 MB / 0.6635 GB, free: 48.48 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.2715, allocations: 11.09 kB / 0.6635 GB, free: 48.48 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.2716, allocations: 122.9 kB / 0.6636 GB, free: 48.4 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008693/0.2725, allocations: 249.4 kB / 0.6639 GB, free: 48.34 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006789/0.2731, allocations: 0.5152 MB / 0.6644 GB, free: 48.03 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/0.2732, allocations: 52.58 kB / 0.6644 GB, free: 48.01 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.058e-05/0.2733, allocations: 62.52 kB / 0.6645 GB, free: 47.99 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.2743, allocations: 1.339 MB / 0.6658 GB, free: 47.06 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.2743, allocations: 7.047 kB / 0.6658 GB, free: 47.05 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.58e-05/0.2744, allocations: 37.64 kB / 0.6658 GB, free: 47.03 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.2745, allocations: 85.45 kB / 0.6659 GB, free: 47.02 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007672/0.2752, allocations: 0.7554 MB / 0.6667 GB, free: 46.75 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00275/0.278, allocations: 4.613 MB / 0.6712 GB, free: 43.12 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006663/0.2787, allocations: 0.5014 MB / 0.6717 GB, free: 42.93 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.2789, allocations: 287.6 kB / 0.6719 GB, free: 42.83 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.279, allocations: 4.188 kB / 0.6719 GB, free: 42.83 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.279, allocations: 44.06 kB / 0.672 GB, free: 42.79 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=47): time 2.424e-06/0.279, allocations: 3.938 kB / 0.672 GB, free: 42.78 MB / 0.5573 GB Notification: Performance of matching and sorting (n=48): time 0.002224/0.2812, allocations: 1.7 MB / 0.6736 GB, free: 42.09 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.2812, allocations: 59.38 kB / 0.6737 GB, free: 42.03 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/0.2817, allocations: 0.5707 MB / 0.6743 GB, free: 41.75 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.2817, allocations: 33.3 kB / 0.6743 GB, free: 41.72 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.2818, allocations: 422.5 kB / 0.6747 GB, free: 41.38 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.667e-05/0.2819, allocations: 177.6 kB / 0.6749 GB, free: 41.24 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.282, allocations: 122.6 kB / 0.675 GB, free: 41.18 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.32e-05/0.2821, allocations: 373.4 kB / 0.6753 GB, free: 40.84 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.2824, allocations: 275.2 kB / 0.6756 GB, free: 40.74 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000328/0.2827, allocations: 498.7 kB / 0.6761 GB, free: 40.38 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006339/0.2834, allocations: 0.8112 MB / 0.6769 GB, free: 39.84 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2834, allocations: 4 kB / 0.6769 GB, free: 39.84 MB / 0.5573 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001106/0.2845, allocations: 1.069 MB / 0.6779 GB, free: 39.38 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.2845, allocations: 13.55 kB / 0.6779 GB, free: 39.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.2845, allocations: 6.875 kB / 0.6779 GB, free: 39.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005398/0.285, allocations: 283.2 kB / 0.6782 GB, free: 39.29 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.2853, allocations: 128.1 kB / 0.6783 GB, free: 39.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004089/0.2894, allocations: 6.679 MB / 0.6848 GB, free: 33.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.2898, allocations: 40.77 kB / 0.6849 GB, free: 33.58 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.73e-05/0.2898, allocations: 27.28 kB / 0.6849 GB, free: 33.58 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003264/0.2901, allocations: 251.8 kB / 0.6852 GB, free: 33.39 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.927e-05/0.2902, allocations: 83.42 kB / 0.6852 GB, free: 33.35 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.2914, allocations: 0.8769 MB / 0.6861 GB, free: 32.96 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2914, allocations: 4.094 kB / 0.6861 GB, free: 32.96 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.2914, allocations: 9.047 kB / 0.6861 GB, free: 32.96 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2914, allocations: 6.609 kB / 0.6861 GB, free: 32.96 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/0.2935, allocations: 1.605 MB / 0.6877 GB, free: 32.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.2935, allocations: 2.281 kB / 0.6877 GB, free: 32.15 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.2937, allocations: 66.78 kB / 0.6877 GB, free: 32.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000491/0.2942, allocations: 261.2 kB / 0.688 GB, free: 32.06 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.2942, allocations: 17.11 kB / 0.688 GB, free: 32.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003631/0.2978, allocations: 6.672 MB / 0.6945 GB, free: 26.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2978, allocations: 3.844 kB / 0.6945 GB, free: 26.36 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.2989, allocations: 0.9798 MB / 0.6955 GB, free: 25.85 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.2991, allocations: 112 kB / 0.6956 GB, free: 25.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.2991, allocations: 13.28 kB / 0.6956 GB, free: 25.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.2994, allocations: 25.88 kB / 0.6956 GB, free: 25.79 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.2995, allocations: 49.53 kB / 0.6957 GB, free: 25.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.2995, allocations: 14.28 kB / 0.6957 GB, free: 25.77 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003711/0.2999, allocations: 382.1 kB / 0.6961 GB, free: 25.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2999, allocations: 0 / 0.6961 GB, free: 25.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007282/0.3006, allocations: 224.8 kB / 0.6963 GB, free: 25.58 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001166/0.3018, allocations: 1.536 MB / 0.6978 GB, free: 24.52 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001304/0.3031, allocations: 1.229 MB / 0.699 GB, free: 23.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3031, allocations: 0 / 0.699 GB, free: 23.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000739/0.3038, allocations: 0.8681 MB / 0.6998 GB, free: 23.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000768/0.3046, allocations: 225.7 kB / 0.7 GB, free: 23.12 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006788/0.3114, allocations: 6.347 MB / 0.7062 GB, free: 19.51 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.3118, allocations: 418.2 kB / 0.7066 GB, free: 19.38 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003885/0.3122, allocations: 128.4 kB / 0.7067 GB, free: 19.36 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.3124, allocations: 251.9 kB / 0.707 GB, free: 19.16 MB / 0.5573 GB Notification: Performance of SimCode: time 1.382e-06/0.3124, allocations: 3.938 kB / 0.707 GB, free: 19.16 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04575/0.3581, allocations: 19.34 MB / 0.7259 GB, free: 8.301 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.221/7.579, allocations: 16 kB / 0.7259 GB, free: 8.289 MB / 0.5573 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_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_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.252327837981284] Failed to read output from testmodel.py, exit status != 0: 7.670509937219322 7.678589983 7.406359998 Calling exit ...