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.001307/0.001307, allocations: 110.6 kB / 18.94 MB, free: 2.789 MB / 14.72 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.001472/0.001472, allocations: 219.5 kB / 22.26 MB, free: 5.219 MB / 14.72 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 1.413/1.413, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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.00257/0.00257, allocations: 283.8 kB / 312.7 MB, free: 2.844 MB / 238.1 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 1.235/1.235, allocations: 180.6 MB / 0.5369 GB, free: 13 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002935/0.002935, allocations: 103.9 kB / 0.7396 GB, free: 28.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.165, allocations: 95.39 MB / 0.8327 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02161/0.1866, allocations: 16.78 MB / 0.8491 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009013/0.1956, allocations: 5.008 MB / 0.854 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00153/0.1971, allocations: 91.31 kB / 0.8541 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00311/0.2002, allocations: 1.095 MB / 0.8552 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00243/0.2027, allocations: 0.7738 MB / 0.8559 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002469/0.2051, allocations: 0.9528 MB / 0.8569 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004907/0.21, allocations: 3.614 MB / 0.8604 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003929/0.214, allocations: 2.47 MB / 0.8628 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002888/0.2169, allocations: 1.621 MB / 0.8644 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002745/0.2196, allocations: 1.873 MB / 0.8662 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005324/0.2201, allocations: 340 kB / 0.8665 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.2217, allocations: 0.8153 MB / 0.8673 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001535/0.2232, allocations: 1.36 MB / 0.8687 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001842/0.2251, allocations: 1.451 MB / 0.8701 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005703/0.2308, allocations: 5.152 MB / 0.8751 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2308, allocations: 0 / 0.8751 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2308, allocations: 0 / 0.8751 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.424e-05/0.2309, allocations: 0 / 0.8751 GB, free: 13.07 MB / 0.6231 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.005371/0.2363, allocations: 2.641 MB / 0.8777 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.2363, allocations: 13.34 kB / 0.8777 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005017/0.2368, allocations: 370.5 kB / 0.8781 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003912/0.2407, allocations: 0.8459 MB / 0.8789 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003334/0.244, allocations: 1.535 MB / 0.8804 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.2442, allocations: 177.1 kB / 0.8806 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004144/0.2446, allocations: 236.3 kB / 0.8808 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006798/0.2514, allocations: 4.166 MB / 0.8848 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.935e-05/0.2515, allocations: 0 / 0.8848 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002623/0.2517, allocations: 104 kB / 0.8849 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002026/0.2519, allocations: 172.5 kB / 0.8851 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006047/0.258, allocations: 3.632 MB / 0.8887 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02/0.278, allocations: 15.62 MB / 0.9039 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003087/0.281, allocations: 1.473 MB / 0.9054 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008733/0.2819, allocations: 0.547 MB / 0.9059 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.282, allocations: 24.64 kB / 0.9059 GB, free: 12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.2821, allocations: 47.2 kB / 0.906 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 2.274e-06/0.2821, allocations: 0 / 0.906 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.005477/0.2876, allocations: 3.205 MB / 0.9091 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/0.2876, allocations: 115.4 kB / 0.9092 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.289, allocations: 1.022 MB / 0.9102 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.969e-05/0.2891, allocations: 45.64 kB / 0.9102 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008064/0.2899, allocations: 1.13 MB / 0.9113 GB, free: 6.332 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/0.2902, allocations: 293.6 kB / 0.9116 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003944/0.2905, allocations: 275.4 kB / 0.9119 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002314/0.2908, allocations: 418.7 kB / 0.9123 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009698/0.2917, allocations: 0.6168 MB / 0.9129 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.2932, allocations: 1.182 MB / 0.914 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002437/0.2956, allocations: 1.872 MB / 0.9159 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.2956, allocations: 8 kB / 0.9159 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003513/0.2992, allocations: 2.019 MB / 0.9178 GB, free: 15.11 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.2992, allocations: 16.12 kB / 0.9179 GB, free: 15.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.696e-05/0.2992, allocations: 23.94 kB / 0.9179 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004397/0.2996, allocations: 163.3 kB / 0.918 GB, free: 14.89 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.3008, allocations: 347.4 kB / 0.9184 GB, free: 14.55 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.555e-05/0.3009, allocations: 39.86 kB / 0.9184 GB, free: 14.52 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009491/0.3018, allocations: 123.8 kB / 0.9185 GB, free: 14.39 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.3019, allocations: 71.98 kB / 0.9186 GB, free: 14.32 MB / 0.67 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.001414/0.3033, allocations: 0.97 MB / 0.9195 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.3036, allocations: 119.2 kB / 0.9197 GB, free: 13.23 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002222/0.3058, allocations: 1.222 MB / 0.9209 GB, free: 11.98 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.3058, allocations: 12 kB / 0.9209 GB, free: 11.96 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3058, allocations: 0 / 0.9209 GB, free: 11.96 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.3058, allocations: 3.984 kB / 0.9209 GB, free: 11.96 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006103/0.3119, allocations: 3.78 MB / 0.9246 GB, free: 8.043 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.3119, allocations: 0 / 0.9246 GB, free: 8.043 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006588/0.3126, allocations: 160 kB / 0.9247 GB, free: 7.887 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003671/0.3129, allocations: 147.3 kB / 0.9249 GB, free: 7.73 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.71e-05/0.313, allocations: 16 kB / 0.9249 GB, free: 7.715 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.144e-05/0.313, allocations: 11.92 kB / 0.9249 GB, free: 7.703 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.313, allocations: 4 kB / 0.9249 GB, free: 7.699 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/0.3152, allocations: 1.466 MB / 0.9263 GB, free: 6.18 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005255/0.3157, allocations: 207.2 kB / 0.9265 GB, free: 5.977 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.3159, allocations: 16.09 kB / 0.9265 GB, free: 5.961 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005847/0.3165, allocations: 63.91 kB / 0.9266 GB, free: 5.898 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.3166, allocations: 68.41 kB / 0.9267 GB, free: 5.832 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.865e-05/0.3167, allocations: 31.98 kB / 0.9267 GB, free: 5.801 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009876/0.3176, allocations: 0.6914 MB / 0.9274 GB, free: 5.098 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.3176, allocations: 0 / 0.9274 GB, free: 5.098 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001463/0.3191, allocations: 388 kB / 0.9277 GB, free: 4.719 MB / 0.67 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.002599/0.3217, allocations: 2.041 MB / 0.9297 GB, free: 2.613 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002389/0.3241, allocations: 1.36 MB / 0.9311 GB, free: 1.242 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3241, allocations: 0 / 0.9311 GB, free: 1.242 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009115/0.325, allocations: 0.538 MB / 0.9316 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.3264, allocations: 265.5 kB / 0.9318 GB, free: 448 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01949/0.3459, allocations: 12.91 MB / 0.9444 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002/0.3479, allocations: 1.92 MB / 0.9463 GB, free: 0.832 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001123/0.349, allocations: 453.4 kB / 0.9467 GB, free: 396 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/0.3501, allocations: 0.7103 MB / 0.9474 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of SimCode: time 1.112e-06/0.3501, allocations: 4 kB / 0.9474 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06958/0.4196, allocations: 29.19 MB / 0.9759 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.04, allocations: 3.281 kB / 0.976 GB, free: 2.789 MB / 0.7169 GB " [Timeout remaining time 647] (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: 17.180293991001236] Failed to read output from testmodel.py, exit status != 0: 13.167526426001132 13.18311865 12.949078969 Calling exit ...