Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.001326/0.001326, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001432/0.001432, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.401/1.401, allocations: 230.6 MB / 256 MB, free: 7.984 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.003976/0.003976, allocations: 283 kB / 312.7 MB, free: 2.902 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.187/1.187, allocations: 180.6 MB / 0.5369 GB, free: 12.96 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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.002872/0.002872, allocations: 107.9 kB / 0.7396 GB, free: 28.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1585, allocations: 95.37 MB / 0.8327 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01519/0.1737, allocations: 11.61 MB / 0.8441 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009961/0.1836, allocations: 6.015 MB / 0.8499 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007803/0.1844, allocations: 71.31 kB / 0.85 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004603/0.189, allocations: 1.802 MB / 0.8518 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002982/0.192, allocations: 1.182 MB / 0.8529 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002109/0.1941, allocations: 0.8285 MB / 0.8537 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002769/0.1969, allocations: 2.127 MB / 0.8558 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001419/0.1983, allocations: 1.03 MB / 0.8568 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.1996, allocations: 0.8835 MB / 0.8577 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/0.201, allocations: 0.9572 MB / 0.8586 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001801/0.2011, allocations: 112 kB / 0.8587 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/0.2033, allocations: 1.208 MB / 0.8599 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005841/0.2039, allocations: 0.5491 MB / 0.8604 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008443/0.2047, allocations: 0.7849 MB / 0.8612 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003478/0.2082, allocations: 2.436 MB / 0.8636 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2082, allocations: 0 / 0.8636 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2082, allocations: 0 / 0.8636 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.624e-05/0.2083, allocations: 0 / 0.8636 GB, free: 8.926 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003005/0.2113, allocations: 1.848 MB / 0.8654 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.2113, allocations: 9.344 kB / 0.8654 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000259/0.2116, allocations: 211.4 kB / 0.8656 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004319/0.2159, allocations: 0.6825 MB / 0.8663 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/0.2178, allocations: 0.9097 MB / 0.8672 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.2179, allocations: 102.9 kB / 0.8673 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/0.2181, allocations: 128.3 kB / 0.8674 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003272/0.2214, allocations: 2.214 MB / 0.8695 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.285e-05/0.2214, allocations: 15.92 kB / 0.8696 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/0.2216, allocations: 63.97 kB / 0.8696 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002175/0.2218, allocations: 162.3 kB / 0.8698 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003007/0.2248, allocations: 1.863 MB / 0.8716 GB, free: 416 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01293/0.2377, allocations: 11.74 MB / 0.8831 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004426/0.2422, allocations: 1.874 MB / 0.8849 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008691/0.243, allocations: 0.5542 MB / 0.8854 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/0.2432, allocations: 28.97 kB / 0.8855 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.2432, allocations: 51.44 kB / 0.8855 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=103): time 2.575e-06/0.2432, allocations: 0 / 0.8855 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of matching and sorting (n=110): time 0.006004/0.2492, allocations: 3.118 MB / 0.8885 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.2493, allocations: 68.41 kB / 0.8886 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.2504, allocations: 0.9205 MB / 0.8895 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.845e-05/0.2505, allocations: 45.7 kB / 0.8896 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005755/0.2511, allocations: 0.7494 MB / 0.8903 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000357/0.2514, allocations: 404.5 kB / 0.8907 GB, free: 12 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004072/0.2518, allocations: 291.4 kB / 0.8909 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.252, allocations: 305.1 kB / 0.8912 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009609/0.2529, allocations: 0.6129 MB / 0.8918 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.2543, allocations: 1.106 MB / 0.8929 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002501/0.2568, allocations: 1.835 MB / 0.8947 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.2568, allocations: 4 kB / 0.8947 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00355/0.2604, allocations: 2.096 MB / 0.8968 GB, free: 5.281 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.2604, allocations: 12 kB / 0.8968 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.2604, allocations: 16.88 kB / 0.8968 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008228/0.2613, allocations: 258.6 kB / 0.897 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.2625, allocations: 375.4 kB / 0.8974 GB, free: 4.609 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009681/0.2722, allocations: 10.78 MB / 0.9079 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.2734, allocations: 127.8 kB / 0.908 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.2735, allocations: 68 kB / 0.9081 GB, free: 8.723 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006833/0.2742, allocations: 412.8 kB / 0.9085 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.2744, allocations: 135.2 kB / 0.9086 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002968/0.2774, allocations: 1.677 MB / 0.9103 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.2774, allocations: 12 kB / 0.9103 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2774, allocations: 4 kB / 0.9103 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.2774, allocations: 7.969 kB / 0.9103 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005282/0.2827, allocations: 3.255 MB / 0.9135 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.2827, allocations: 4 kB / 0.9135 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008736/0.2836, allocations: 227.6 kB / 0.9137 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007037/0.2843, allocations: 243 kB / 0.9139 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.648e-05/0.2843, allocations: 31.94 kB / 0.9139 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009364/0.2937, allocations: 10.76 MB / 0.9245 GB, free: 6.855 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.2937, allocations: 4 kB / 0.9245 GB, free: 6.852 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/0.2966, allocations: 1.8 MB / 0.9262 GB, free: 4.945 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005857/0.2972, allocations: 235 kB / 0.9264 GB, free: 4.715 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.2973, allocations: 24 kB / 0.9265 GB, free: 4.691 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006888/0.298, allocations: 91.88 kB / 0.9266 GB, free: 4.602 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.2982, allocations: 104.6 kB / 0.9267 GB, free: 4.496 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.896e-05/0.2983, allocations: 39.98 kB / 0.9267 GB, free: 4.457 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008359/0.2991, allocations: 0.6177 MB / 0.9273 GB, free: 3.832 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2991, allocations: 4 kB / 0.9273 GB, free: 3.828 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0013/0.3004, allocations: 392 kB / 0.9277 GB, free: 3.445 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003093/0.3035, allocations: 2.386 MB / 0.93 GB, free: 0.9453 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003628/0.3071, allocations: 2.41 MB / 0.9324 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3071, allocations: 0.875 kB / 0.9324 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00219/0.3093, allocations: 1.578 MB / 0.9339 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.3109, allocations: 371.1 kB / 0.9343 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0164/0.3273, allocations: 11.54 MB / 0.9455 GB, free: 116 kB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.3284, allocations: 1.331 MB / 0.9468 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009682/0.3293, allocations: 359.2 kB / 0.9472 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007366/0.3301, allocations: 0.5344 MB / 0.9477 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of SimCode: time 9.92e-07/0.3301, allocations: 0 / 0.9477 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1227/0.4528, allocations: 29.72 MB / 0.9767 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.49, allocations: 4.531 kB / 0.9767 GB, free: 0.5273 MB / 0.7169 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_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_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.604316056000243] Failed to read output from testmodel.py, exit status != 0: 13.611484261000442 13.628877212999999 13.417126832 Calling exit ...