Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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.0007839/0.0007839, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0008028/0.0008028, allocations: 166.3 kB / 22.46 MB, free: 2.098 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.8555/0.8555, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.001463/0.001463, allocations: 239.9 kB / 259.4 MB, free: 13.04 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.6803/0.6803, 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.771e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.2867/0.2868, allocations: 30.81 MB / 0.6764 GB, free: 39.37 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01194/0.2987, allocations: 10.13 MB / 0.6863 GB, free: 32.84 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002909/0.3016, allocations: 197.1 kB / 0.6865 GB, free: 32.75 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.005149/0.3068, allocations: 3.744 MB / 0.6901 GB, free: 30.65 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.005044/0.3118, allocations: 2.002 MB / 0.6921 GB, free: 29.4 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004475/0.3163, allocations: 2.163 MB / 0.6942 GB, free: 28.18 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.008093/0.3244, allocations: 7.461 MB / 0.7015 GB, free: 24.73 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006214/0.3306, allocations: 5.119 MB / 0.7065 GB, free: 21.96 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005634/0.3362, allocations: 4.595 MB / 0.711 GB, free: 18.98 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004056/0.3403, allocations: 3.236 MB / 0.7141 GB, free: 17.13 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.001378/0.3416, allocations: 0.6449 MB / 0.7148 GB, free: 17.13 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003334/0.345, allocations: 1.676 MB / 0.7164 GB, free: 16.54 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.002089/0.3471, allocations: 2.725 MB / 0.7191 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.002897/0.35, allocations: 2.019 MB / 0.721 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.008324/0.3583, allocations: 10.31 MB / 0.7311 GB, free: 4.414 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3583, allocations: 0 / 0.7311 GB, free: 4.414 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3583, allocations: 0 / 0.7311 GB, free: 4.414 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.000221/0.3585, allocations: 0 / 0.7311 GB, free: 4.414 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.006841/0.3654, allocations: 4.995 MB / 0.736 GB, free: 15.36 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.3654, allocations: 13.94 kB / 0.736 GB, free: 15.35 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007715/0.3662, allocations: 0.6788 MB / 0.7367 GB, free: 14.66 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003131/0.3693, allocations: 0.993 MB / 0.7376 GB, free: 13.67 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004115/0.3734, allocations: 3.002 MB / 0.7406 GB, free: 10.6 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/0.3736, allocations: 353.7 kB / 0.7409 GB, free: 10.25 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00049/0.3741, allocations: 464.3 kB / 0.7413 GB, free: 9.797 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009357/0.3834, allocations: 7.972 MB / 0.7491 GB, free: 1.402 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001135/0.3836, allocations: 27.95 kB / 0.7492 GB, free: 1.375 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000332/0.3839, allocations: 207.9 kB / 0.7494 GB, free: 1.176 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002243/0.3841, allocations: 313 kB / 0.7497 GB, free: 0.8672 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007536/0.3916, allocations: 5.706 MB / 0.7552 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02106/0.4127, allocations: 22.65 MB / 0.7773 GB, free: 3.871 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.4143, allocations: 1.552 MB / 0.7789 GB, free: 2.312 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.4153, allocations: 1.128 MB / 0.78 GB, free: 1.184 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.68e-05/0.4154, allocations: 13.31 kB / 0.78 GB, free: 1.172 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.4154, allocations: 43.88 kB / 0.78 GB, free: 1.121 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=133): time 4.879e-06/0.4154, allocations: 4 kB / 0.78 GB, free: 1.117 MB / 0.6042 GB Notification: Performance of matching and sorting (n=136): time 0.008523/0.4239, allocations: 6.211 MB / 0.7861 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.424, allocations: 72.64 kB / 0.7862 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.4254, allocations: 1.519 MB / 0.7876 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.637e-05/0.4255, allocations: 45.7 kB / 0.7877 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009756/0.4264, allocations: 2.061 MB / 0.7897 GB, free: 7.082 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003094/0.4267, allocations: 0.4958 MB / 0.7902 GB, free: 6.582 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006368/0.4274, allocations: 347.3 kB / 0.7905 GB, free: 6.238 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.204e-05/0.4275, allocations: 305.1 kB / 0.7908 GB, free: 5.938 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008911/0.4283, allocations: 0.9135 MB / 0.7917 GB, free: 5.023 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/0.4295, allocations: 1.589 MB / 0.7932 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/0.4318, allocations: 2.737 MB / 0.7959 GB, free: 76 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.4318, allocations: 4 kB / 0.7959 GB, free: 72 kB / 0.6198 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004023/0.4358, allocations: 3.516 MB / 0.7994 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.4359, allocations: 16.62 kB / 0.7994 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.4359, allocations: 22.62 kB / 0.7994 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/0.4373, allocations: 0.9012 MB / 0.8003 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006139/0.4379, allocations: 351.4 kB / 0.8006 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01312/0.451, allocations: 21.73 MB / 0.8218 GB, free: 4.098 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.4521, allocations: 95.97 kB / 0.8219 GB, free: 4.004 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.826e-05/0.4522, allocations: 87.98 kB / 0.822 GB, free: 3.918 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002132/0.4543, allocations: 1.606 MB / 0.8236 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002976/0.4546, allocations: 210.7 kB / 0.8238 GB, free: 2.094 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003459/0.4581, allocations: 2.97 MB / 0.8267 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.4581, allocations: 19.88 kB / 0.8267 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/0.4581, allocations: 8 kB / 0.8267 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.4581, allocations: 11.97 kB / 0.8267 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008268/0.4664, allocations: 6.715 MB / 0.8333 GB, free: 8.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.4664, allocations: 8 kB / 0.8333 GB, free: 8.152 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.4669, allocations: 175.7 kB / 0.8334 GB, free: 7.98 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001371/0.4682, allocations: 0.8223 MB / 0.8342 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.689e-05/0.4683, allocations: 28 kB / 0.8343 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01367/0.482, allocations: 20.57 MB / 0.8544 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.482, allocations: 7.984 kB / 0.8544 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003527/0.4855, allocations: 3.007 MB / 0.8573 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008379/0.4864, allocations: 394.5 kB / 0.8577 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.4865, allocations: 31.98 kB / 0.8577 GB, free: 13.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004575/0.487, allocations: 76.41 kB / 0.8578 GB, free: 13.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002937/0.4873, allocations: 124.7 kB / 0.8579 GB, free: 13.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.267e-05/0.4873, allocations: 44 kB / 0.8579 GB, free: 13.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001033/0.4884, allocations: 0.9795 MB / 0.8589 GB, free: 12.36 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.4884, allocations: 0 / 0.8589 GB, free: 12.36 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002423/0.4908, allocations: 0.789 MB / 0.8597 GB, free: 11.57 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003418/0.4942, allocations: 3.582 MB / 0.8632 GB, free: 7.863 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004752/0.4989, allocations: 3.91 MB / 0.867 GB, free: 3.801 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.499, allocations: 0 / 0.867 GB, free: 3.801 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002247/0.5012, allocations: 2.666 MB / 0.8696 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/0.5033, allocations: 0.7385 MB / 0.8703 GB, free: 300 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02706/0.5303, allocations: 22.52 MB / 0.8923 GB, free: 8.75 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003089/0.5334, allocations: 2.569 MB / 0.8948 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001099/0.5345, allocations: 453.9 kB / 0.8953 GB, free: 5.703 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/0.5357, allocations: 1.539 MB / 0.8968 GB, free: 4.164 MB / 0.7292 GB Notification: Performance of SimCode: time 1.703e-06/0.5357, allocations: 0 / 0.8968 GB, free: 4.164 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3616/0.8973, allocations: 65.8 MB / 0.961 GB, free: 227.2 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.343/9.24, allocations: 11.7 kB / 0.961 GB, free: 227.2 MB / 0.7605 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.900616068392992] Failed to read output from testmodel.py, exit status != 0: 9.352591359056532 9.366644227 9.006171959 Calling exit ...