Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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.000742/0.000742, 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.0007737/0.0007737, allocations: 165.9 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.8619/0.8619, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.001373/0.001373, allocations: 240.1 kB / 259.4 MB, free: 13.02 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.7069/0.7069, allocations: 138.4 MB / 454.3 MB, free: 30.05 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_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.6463 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/1.972e-05, allocations: 9.312 kB / 0.6463 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.2627/0.2627, allocations: 32.97 MB / 0.6785 GB, free: 38.03 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01214/0.2748, allocations: 9.87 MB / 0.6882 GB, free: 31.59 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002113/0.277, allocations: 191.9 kB / 0.6883 GB, free: 31.5 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.004637/0.2816, allocations: 3.839 MB / 0.6921 GB, free: 29.34 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003911/0.2855, allocations: 2.201 MB / 0.6942 GB, free: 27.95 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003398/0.2889, allocations: 1.981 MB / 0.6962 GB, free: 26.82 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.007464/0.2964, allocations: 8.147 MB / 0.7041 GB, free: 23 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00534/0.3017, allocations: 5.243 MB / 0.7092 GB, free: 19.89 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004898/0.3066, allocations: 4.894 MB / 0.714 GB, free: 16.74 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003356/0.31, allocations: 3.459 MB / 0.7174 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0008953/0.3109, allocations: 0.6792 MB / 0.7181 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001964/0.3128, allocations: 1.371 MB / 0.7194 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001523/0.3143, allocations: 2.798 MB / 0.7221 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.002137/0.3165, allocations: 2.167 MB / 0.7243 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.004781/0.3213, allocations: 10.59 MB / 0.7346 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3213, allocations: 4 kB / 0.7346 GB, free: 0.8086 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3213, allocations: 0 / 0.7346 GB, free: 0.8086 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.085e-05/0.3214, allocations: 0 / 0.7346 GB, free: 0.8086 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.006244/0.3276, allocations: 5.409 MB / 0.7399 GB, free: 11.34 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.3276, allocations: 13.94 kB / 0.7399 GB, free: 11.33 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006791/0.3283, allocations: 0.6951 MB / 0.7406 GB, free: 10.63 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002476/0.3308, allocations: 0.9968 MB / 0.7415 GB, free: 9.629 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003681/0.3345, allocations: 3.135 MB / 0.7446 GB, free: 6.43 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.3347, allocations: 361.9 kB / 0.745 GB, free: 6.074 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005009/0.3352, allocations: 464.3 kB / 0.7454 GB, free: 5.621 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008202/0.3434, allocations: 8.672 MB / 0.7539 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.368e-05/0.3434, allocations: 23.98 kB / 0.7539 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003333/0.3438, allocations: 217.3 kB / 0.7541 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002986/0.3441, allocations: 365.1 kB / 0.7544 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006101/0.3502, allocations: 5.926 MB / 0.7602 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01841/0.3686, allocations: 23.73 MB / 0.7834 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.3705, allocations: 1.985 MB / 0.7853 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/0.3717, allocations: 1.322 MB / 0.7866 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-05/0.3718, allocations: 21.31 kB / 0.7866 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.3718, allocations: 55.86 kB / 0.7867 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=157): time 3.587e-06/0.3718, allocations: 0 / 0.7867 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=160): time 0.007735/0.3796, allocations: 6.671 MB / 0.7932 GB, free: 3.379 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.3796, allocations: 68.72 kB / 0.7933 GB, free: 3.301 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.3811, allocations: 1.899 MB / 0.7951 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.396e-05/0.3812, allocations: 57.7 kB / 0.7952 GB, free: 1.312 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.3822, allocations: 2.177 MB / 0.7973 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002905/0.3825, allocations: 0.581 MB / 0.7979 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003758/0.3829, allocations: 404 kB / 0.7983 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.182e-05/0.383, allocations: 309 kB / 0.7986 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009935/0.3839, allocations: 1.062 MB / 0.7996 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/0.3852, allocations: 1.76 MB / 0.8013 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002513/0.3877, allocations: 3.049 MB / 0.8043 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.3877, allocations: 4 kB / 0.8043 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.003837/0.3916, allocations: 3.91 MB / 0.8081 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.3916, allocations: 15.94 kB / 0.8081 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.3916, allocations: 27.94 kB / 0.8082 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.3929, allocations: 0.9237 MB / 0.8091 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007583/0.3937, allocations: 439.2 kB / 0.8095 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/0.4062, allocations: 21.36 MB / 0.8303 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.4072, allocations: 123.9 kB / 0.8305 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.4073, allocations: 96 kB / 0.8305 GB, free: 10.98 MB / 0.6667 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.002634/0.41, allocations: 1.655 MB / 0.8322 GB, free: 9.316 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004861/0.4105, allocations: 266.4 kB / 0.8324 GB, free: 9.055 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003688/0.4141, allocations: 3.236 MB / 0.8356 GB, free: 5.766 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.4142, allocations: 16 kB / 0.8356 GB, free: 5.75 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.737e-05/0.4142, allocations: 12 kB / 0.8356 GB, free: 5.738 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.4142, allocations: 7.969 kB / 0.8356 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009297/0.4235, allocations: 7.158 MB / 0.8426 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.4235, allocations: 8 kB / 0.8426 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004934/0.424, allocations: 215.6 kB / 0.8428 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001455/0.4255, allocations: 0.8926 MB / 0.8437 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.359e-05/0.4255, allocations: 32 kB / 0.8437 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/0.4386, allocations: 21.32 MB / 0.8645 GB, free: 6.539 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.4387, allocations: 8 kB / 0.8645 GB, free: 6.531 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004054/0.4427, allocations: 3.365 MB / 0.8678 GB, free: 3.055 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009449/0.4437, allocations: 478.2 kB / 0.8683 GB, free: 2.586 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.4438, allocations: 35.95 kB / 0.8683 GB, free: 2.551 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005812/0.4444, allocations: 88.45 kB / 0.8684 GB, free: 2.465 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003453/0.4447, allocations: 148.9 kB / 0.8686 GB, free: 2.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.945e-05/0.4448, allocations: 48 kB / 0.8686 GB, free: 2.273 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001339/0.4462, allocations: 1.225 MB / 0.8698 GB, free: 1.035 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4462, allocations: 0 / 0.8698 GB, free: 1.035 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002206/0.4484, allocations: 0.9101 MB / 0.8707 GB, free: 128 kB / 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,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.003963/0.4523, allocations: 3.951 MB / 0.8745 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004475/0.4568, allocations: 4.295 MB / 0.8787 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.4568, allocations: 1 kB / 0.8787 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002443/0.4593, allocations: 2.894 MB / 0.8816 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/0.4616, allocations: 0.83 MB / 0.8824 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02959/0.4912, allocations: 25.28 MB / 0.9071 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002503/0.4937, allocations: 2.665 MB / 0.9097 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001241/0.4949, allocations: 0.5332 MB / 0.9102 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/0.4963, allocations: 1.648 MB / 0.9118 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of SimCode: time 1.173e-06/0.4963, allocations: 0 / 0.9118 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3495/0.8458, allocations: 74.98 MB / 0.985 GB, free: 215.2 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.624/9.47, allocations: 3.562 kB / 0.985 GB, free: 215.2 MB / 0.7605 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.228249073028564] Failed to read output from testmodel.py, exit status != 0: 9.587182608433068 9.595602342 9.272753975 Calling exit ...