Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.000929/0.000929, 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.0009879/0.0009879, 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.8777/0.8777, 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.00138/0.00138, allocations: 229.7 kB / 259.4 MB, free: 13.03 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.6696/0.6696, 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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.838e-06/3.838e-06, allocations: 4 kB / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.743e-05/2.127e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.2442/0.2442, allocations: 15.16 MB / 0.6611 GB, free: 49.03 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005735/0.25, allocations: 4.725 MB / 0.6657 GB, free: 45.96 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009276/0.2509, allocations: 86.28 kB / 0.6658 GB, free: 45.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.2524, allocations: 1.062 MB / 0.6668 GB, free: 45.33 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.2538, allocations: 0.7985 MB / 0.6676 GB, free: 44.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.2553, allocations: 0.9242 MB / 0.6685 GB, free: 44.33 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002562/0.2579, allocations: 3.685 MB / 0.6721 GB, free: 42.67 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002186/0.26, allocations: 2.448 MB / 0.6745 GB, free: 41.44 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002327/0.2624, allocations: 2.271 MB / 0.6767 GB, free: 40.34 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.2642, allocations: 1.681 MB / 0.6784 GB, free: 39.77 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004048/0.2646, allocations: 341.1 kB / 0.6787 GB, free: 39.77 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.2658, allocations: 0.7564 MB / 0.6794 GB, free: 39.61 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001225/0.267, allocations: 1.429 MB / 0.6808 GB, free: 38.95 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001178/0.2682, allocations: 1.016 MB / 0.6818 GB, free: 38.45 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.005163/0.2734, allocations: 5.238 MB / 0.6869 GB, free: 36.85 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2734, allocations: 4.688 kB / 0.6869 GB, free: 36.84 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2734, allocations: 0 / 0.6869 GB, free: 36.84 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001211/0.2735, allocations: 0 / 0.6869 GB, free: 36.84 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.004467/0.278, allocations: 2.61 MB / 0.6895 GB, free: 35.34 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.278, allocations: 12.94 kB / 0.6895 GB, free: 35.34 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004003/0.2784, allocations: 376.3 kB / 0.6898 GB, free: 35.13 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002338/0.2808, allocations: 0.8507 MB / 0.6907 GB, free: 34.95 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001977/0.2827, allocations: 1.536 MB / 0.6922 GB, free: 34.17 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.566e-05/0.2828, allocations: 177.8 kB / 0.6923 GB, free: 34.09 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003071/0.2831, allocations: 232.8 kB / 0.6926 GB, free: 34.01 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004607/0.2878, allocations: 4.261 MB / 0.6967 GB, free: 31.4 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.306e-05/0.2878, allocations: 4.109 kB / 0.6967 GB, free: 31.4 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002012/0.288, allocations: 106.1 kB / 0.6968 GB, free: 31.32 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001536/0.2881, allocations: 169.5 kB / 0.697 GB, free: 31.28 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004137/0.2923, allocations: 3.627 MB / 0.7005 GB, free: 29.43 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01041/0.3027, allocations: 11.02 MB / 0.7113 GB, free: 21.34 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.3046, allocations: 1.477 MB / 0.7127 GB, free: 20.54 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005642/0.3051, allocations: 0.5515 MB / 0.7133 GB, free: 20.24 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.538e-05/0.3052, allocations: 18.58 kB / 0.7133 GB, free: 20.23 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.3052, allocations: 43.44 kB / 0.7133 GB, free: 20.19 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=72): time 3.136e-06/0.3052, allocations: 0 / 0.7133 GB, free: 20.19 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76): time 0.003628/0.3089, allocations: 3.201 MB / 0.7165 GB, free: 18.22 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.3089, allocations: 112.6 kB / 0.7166 GB, free: 18.1 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009717/0.3099, allocations: 1.053 MB / 0.7176 GB, free: 17.48 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.3099, allocations: 36.02 kB / 0.7176 GB, free: 17.45 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/0.3103, allocations: 1.137 MB / 0.7187 GB, free: 16.44 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.3104, allocations: 287.1 kB / 0.719 GB, free: 16.19 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/0.3106, allocations: 280.2 kB / 0.7193 GB, free: 16 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.716e-05/0.3107, allocations: 410.7 kB / 0.7197 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005013/0.3112, allocations: 0.6129 MB / 0.7203 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006255/0.3118, allocations: 1.189 MB / 0.7214 GB, free: 13.53 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.313, allocations: 1.866 MB / 0.7233 GB, free: 11.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.313, allocations: 8 kB / 0.7233 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001641/0.3146, allocations: 2.019 MB / 0.7252 GB, free: 9.355 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.3147, allocations: 16.03 kB / 0.7253 GB, free: 9.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.3147, allocations: 23.94 kB / 0.7253 GB, free: 9.316 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002504/0.3149, allocations: 163.3 kB / 0.7254 GB, free: 9.145 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005805/0.3155, allocations: 343.4 kB / 0.7258 GB, free: 8.809 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.226e-05/0.3155, allocations: 43.84 kB / 0.7258 GB, free: 8.766 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005869/0.3161, allocations: 123.8 kB / 0.7259 GB, free: 8.645 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.398e-05/0.3162, allocations: 68 kB / 0.726 GB, free: 8.578 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001063/0.3172, allocations: 0.9778 MB / 0.7269 GB, free: 7.59 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.3174, allocations: 111.3 kB / 0.727 GB, free: 7.48 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.3185, allocations: 1.236 MB / 0.7283 GB, free: 6.223 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.3185, allocations: 8 kB / 0.7283 GB, free: 6.215 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.3185, allocations: 4 kB / 0.7283 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.3185, allocations: 7.922 kB / 0.7283 GB, free: 6.203 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/0.3216, allocations: 3.439 MB / 0.7316 GB, free: 2.676 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3217, allocations: 4 kB / 0.7316 GB, free: 2.672 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/0.322, allocations: 155.8 kB / 0.7318 GB, free: 2.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001767/0.3221, allocations: 147.5 kB / 0.7319 GB, free: 2.363 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.3222, allocations: 20 kB / 0.7319 GB, free: 2.344 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.3222, allocations: 4 kB / 0.7319 GB, free: 2.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.3222, allocations: 7.938 kB / 0.732 GB, free: 2.332 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009501/0.3231, allocations: 1.47 MB / 0.7334 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.3234, allocations: 195.2 kB / 0.7336 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.04e-05/0.3234, allocations: 27.95 kB / 0.7336 GB, free: 0.5859 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.3237, allocations: 63.91 kB / 0.7337 GB, free: 0.5234 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.357e-05/0.3238, allocations: 64.42 kB / 0.7337 GB, free: 472 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.3239, allocations: 20 kB / 0.7337 GB, free: 452 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005342/0.3244, allocations: 0.6992 MB / 0.7344 GB, free: 15.73 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.3244, allocations: 0 / 0.7344 GB, free: 15.73 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001034/0.3254, allocations: 388 kB / 0.7348 GB, free: 15.35 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001546/0.327, allocations: 2.038 MB / 0.7368 GB, free: 13.24 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001406/0.3284, allocations: 1.359 MB / 0.7381 GB, free: 11.88 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3284, allocations: 0 / 0.7381 GB, free: 11.88 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005161/0.3289, allocations: 0.53 MB / 0.7386 GB, free: 11.33 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008689/0.3298, allocations: 279.1 kB / 0.7389 GB, free: 11.09 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/0.3436, allocations: 12.9 MB / 0.7515 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/0.345, allocations: 1.337 MB / 0.7528 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0008035/0.3458, allocations: 449.6 kB / 0.7532 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006618/0.3465, allocations: 0.719 MB / 0.7539 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of SimCode: time 1.853e-06/0.3465, allocations: 3.938 kB / 0.7539 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04384/0.3903, allocations: 29.25 MB / 0.7825 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.367/7.757, allocations: 4.062 kB / 0.7825 GB, free: 14.2 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_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_Loads_Examples_Impedances.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.43206306733191] Failed to read output from testmodel.py, exit status != 0: 7.852274003438652 7.86083035 7.585439172 Calling exit ...