Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001453/0.001453, allocations: 109.2 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.001684/0.001684, allocations: 219.7 kB / 22.26 MB, free: 5.121 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.367/1.367, allocations: 230.6 MB / 256 MB, free: 7.977 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.002414/0.002414, allocations: 278.6 kB / 312.7 MB, free: 2.766 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.128/1.128, 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.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.002739/0.002739, allocations: 99.38 kB / 0.7396 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1505, allocations: 95.39 MB / 0.8327 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01933/0.1699, allocations: 14.58 MB / 0.847 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01507/0.1849, allocations: 9.79 MB / 0.8565 GB, free: 136 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.1861, allocations: 79.25 kB / 0.8566 GB, free: 56 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004514/0.1906, allocations: 1.743 MB / 0.8583 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004164/0.1947, allocations: 1.593 MB / 0.8599 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.1966, allocations: 0.7611 MB / 0.8606 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003624/0.2002, allocations: 2.532 MB / 0.8631 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00191/0.2022, allocations: 1.192 MB / 0.8643 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.204, allocations: 1.09 MB / 0.8653 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002136/0.2061, allocations: 1.206 MB / 0.8665 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003728/0.2065, allocations: 164 kB / 0.8667 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001649/0.2081, allocations: 0.8072 MB / 0.8674 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007744/0.2089, allocations: 0.6425 MB / 0.8681 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001449/0.2103, allocations: 0.9368 MB / 0.869 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003693/0.214, allocations: 2.775 MB / 0.8717 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.214, allocations: 0 / 0.8717 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.214, allocations: 0 / 0.8717 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.879e-05/0.2141, allocations: 4 kB / 0.8717 GB, free: 0.5312 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004754/0.2189, allocations: 2.117 MB / 0.8738 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.2189, allocations: 9.344 kB / 0.8738 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003485/0.2193, allocations: 194.4 kB / 0.874 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01071/0.23, allocations: 2.098 MB / 0.876 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002929/0.2329, allocations: 1.216 MB / 0.8772 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.81e-05/0.233, allocations: 94.73 kB / 0.8773 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003217/0.2333, allocations: 119.9 kB / 0.8774 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00564/0.2389, allocations: 2.671 MB / 0.88 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.331e-05/0.239, allocations: 7.938 kB / 0.88 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/0.2392, allocations: 55.98 kB / 0.8801 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005739/0.2397, allocations: 186.1 kB / 0.8802 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007143/0.2469, allocations: 2.799 MB / 0.883 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01577/0.2626, allocations: 10.37 MB / 0.8931 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006543/0.2692, allocations: 2.231 MB / 0.8953 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002992/0.2722, allocations: 1.217 MB / 0.8965 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.461e-05/0.2723, allocations: 9 kB / 0.8965 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.2723, allocations: 39.56 kB / 0.8965 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=89): time 2.485e-06/0.2723, allocations: 0 / 0.8965 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of matching and sorting (n=131): time 0.04426/0.3166, allocations: 12.66 MB / 0.9089 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.3166, allocations: 64.72 kB / 0.9089 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001808/0.3184, allocations: 1.121 MB / 0.91 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001604/0.3186, allocations: 45.7 kB / 0.9101 GB, free: 8.285 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006504/0.3192, allocations: 0.7287 MB / 0.9108 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005405/0.3198, allocations: 479.9 kB / 0.9113 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005622/0.3203, allocations: 263.5 kB / 0.9115 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.3205, allocations: 365.9 kB / 0.9119 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003258/0.3238, allocations: 1.343 MB / 0.9132 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003566/0.3274, allocations: 1.596 MB / 0.9147 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006765/0.3341, allocations: 2.998 MB / 0.9176 GB, free: 328 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.3341, allocations: 0 / 0.9176 GB, free: 328 kB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01159/0.3457, allocations: 4.4 MB / 0.9219 GB, free: 11.87 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.3458, allocations: 8.875 kB / 0.922 GB, free: 11.86 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.3458, allocations: 8 kB / 0.922 GB, free: 11.85 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005247/0.351, allocations: 1.427 MB / 0.9234 GB, free: 10.38 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001974/0.353, allocations: 439.2 kB / 0.9238 GB, free: 9.953 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02947/0.3825, allocations: 25.37 MB / 0.9486 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002355/0.3848, allocations: 311.5 kB / 0.9489 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002552/0.3851, allocations: 59.97 kB / 0.9489 GB, free: 14.71 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009482/0.386, allocations: 441.4 kB / 0.9493 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004241/0.3864, allocations: 171 kB / 0.9495 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/0.398, allocations: 4.402 MB / 0.9538 GB, free: 9.648 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.398, allocations: 16 kB / 0.9538 GB, free: 9.633 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.031e-05/0.398, allocations: 12 kB / 0.9538 GB, free: 9.621 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/0.3981, allocations: 7.969 kB / 0.9538 GB, free: 9.613 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/0.4136, allocations: 6.684 MB / 0.9604 GB, free: 2.766 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.4136, allocations: 4 kB / 0.9604 GB, free: 2.762 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001722/0.4153, allocations: 383.8 kB / 0.9607 GB, free: 2.387 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004672/0.42, allocations: 1.311 MB / 0.962 GB, free: 1.035 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/0.4202, allocations: 43.97 kB / 0.962 GB, free: 0.9922 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0274/0.4476, allocations: 24.19 MB / 0.9857 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.4476, allocations: 0 / 0.9857 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01089/0.4584, allocations: 4.168 MB / 0.9897 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/0.4596, allocations: 390.7 kB / 0.9901 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003702/0.46, allocations: 24 kB / 0.9901 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002013/0.462, allocations: 307.5 kB / 0.9904 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003971/0.4624, allocations: 132.6 kB / 0.9906 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/0.4625, allocations: 51.95 kB / 0.9906 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001139/0.4637, allocations: 0.7526 MB / 0.9913 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4637, allocations: 0 / 0.9913 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002/0.4657, allocations: 0.5664 MB / 0.9919 GB, free: 0.8398 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.3577/0.8234, allocations: 4.746 MB / 0.9965 GB, free: 146.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009836/0.8332, allocations: 4.97 MB / 1.001 GB, free: 144.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.8332, allocations: 0 / 1.001 GB, free: 144.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006713/0.8399, allocations: 3.421 MB / 1.005 GB, free: 143.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/0.8422, allocations: 0.5524 MB / 1.005 GB, free: 143.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03615/0.8784, allocations: 19.34 MB / 1.024 GB, free: 135.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008854/0.8793, allocations: 1.478 MB / 1.026 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001413/0.8807, allocations: 430.5 kB / 1.026 GB, free: 135 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006783/0.8814, allocations: 0.6242 MB / 1.027 GB, free: 134.4 MB / 0.7325 GB Notification: Performance of SimCode: time 6.21e-07/0.8814, allocations: 3.875 kB / 1.027 GB, free: 134.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1305/1.012, allocations: 53.38 MB / 1.079 GB, free: 84.31 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.22/20.24, allocations: 0 / 1.079 GB, free: 84.31 MB / 0.7325 GB " [Timeout remaining time 640] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.17119259899482] Failed to read output from testmodel.py, exit status != 0: 20.369508050149307 20.379737841 20.163511307 Calling exit ...