Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001358/0.001358, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001528/0.001528, allocations: 215 kB / 22.25 MB, free: 5.262 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.734 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.002574/0.002574, allocations: 297.7 kB / 312.7 MB, free: 2.57 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.216/1.216, allocations: 180.6 MB / 0.5369 GB, free: 14.49 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.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.003058/0.003058, allocations: 102.2 kB / 0.7395 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1607, allocations: 95.38 MB / 0.8327 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04127/0.202, allocations: 31.53 MB / 0.8635 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01811/0.2201, allocations: 10.28 MB / 0.8735 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002774/0.2228, allocations: 190.6 kB / 0.8737 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.009972/0.2328, allocations: 3.738 MB / 0.8773 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005711/0.2385, allocations: 1.956 MB / 0.8792 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005749/0.2443, allocations: 2.141 MB / 0.8813 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009481/0.2538, allocations: 7.326 MB / 0.8885 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008608/0.2624, allocations: 5.096 MB / 0.8935 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005073/0.2674, allocations: 3.299 MB / 0.8967 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005767/0.2732, allocations: 3.442 MB / 0.9 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00126/0.2745, allocations: 0.6445 MB / 0.9007 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003433/0.2779, allocations: 1.65 MB / 0.9023 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0028/0.2807, allocations: 2.615 MB / 0.9048 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003241/0.2839, allocations: 2.342 MB / 0.9071 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01121/0.2951, allocations: 10.19 MB / 0.9171 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2952, allocations: 0 / 0.9171 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2952, allocations: 0 / 0.9171 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001936/0.2954, allocations: 0 / 0.9171 GB, free: 1.492 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01025/0.3056, allocations: 5.044 MB / 0.922 GB, free: 12.39 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.3056, allocations: 13.34 kB / 0.922 GB, free: 12.38 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001139/0.3068, allocations: 0.6859 MB / 0.9227 GB, free: 11.68 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00519/0.312, allocations: 0.9813 MB / 0.9236 GB, free: 10.7 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007211/0.3192, allocations: 2.995 MB / 0.9266 GB, free: 7.629 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003114/0.3195, allocations: 349.7 kB / 0.9269 GB, free: 7.285 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008673/0.3204, allocations: 464.3 kB / 0.9273 GB, free: 6.832 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01327/0.3336, allocations: 7.972 MB / 0.9351 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001299/0.3338, allocations: 35.77 kB / 0.9352 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000489/0.3343, allocations: 196 kB / 0.9353 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003801/0.3346, allocations: 313 kB / 0.9356 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009918/0.3445, allocations: 5.702 MB / 0.9412 GB, free: 8.184 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03168/0.3762, allocations: 22.67 MB / 0.9634 GB, free: 0.8555 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002661/0.3789, allocations: 1.549 MB / 0.9649 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.3805, allocations: 1.124 MB / 0.966 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.562e-05/0.3806, allocations: 21.3 kB / 0.966 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.3807, allocations: 51.81 kB / 0.966 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=133): time 3.496e-06/0.3807, allocations: 0 / 0.966 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=136): time 0.01396/0.3946, allocations: 6.207 MB / 0.9721 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.3947, allocations: 64.72 kB / 0.9722 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002091/0.3968, allocations: 1.523 MB / 0.9736 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.3969, allocations: 45.7 kB / 0.9737 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001576/0.3985, allocations: 2.073 MB / 0.9757 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004911/0.3989, allocations: 0.4996 MB / 0.9762 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005566/0.3995, allocations: 355.3 kB / 0.9765 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.3996, allocations: 309.1 kB / 0.9768 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.4011, allocations: 0.9135 MB / 0.9777 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/0.4031, allocations: 1.597 MB / 0.9793 GB, free: 76 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3606/0.7637, allocations: 2.726 MB / 0.9819 GB, free: 130.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-05/0.7637, allocations: 9.781 kB / 0.982 GB, free: 130.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006341/0.77, allocations: 3.51 MB / 0.9854 GB, free: 129.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.7701, allocations: 14.72 kB / 0.9854 GB, free: 129.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.07e-05/0.7701, allocations: 26.19 kB / 0.9854 GB, free: 129.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002428/0.7725, allocations: 0.8976 MB / 0.9863 GB, free: 129.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.7736, allocations: 354 kB / 0.9866 GB, free: 129.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01857/0.7922, allocations: 21.74 MB / 1.008 GB, free: 111.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.7938, allocations: 99.67 kB / 1.008 GB, free: 111.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002611/0.794, allocations: 87.34 kB / 1.008 GB, free: 111.1 MB / 0.7169 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002548/0.7966, allocations: 1.609 MB / 1.01 GB, free: 110.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004372/0.797, allocations: 212.2 kB / 1.01 GB, free: 110.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005071/0.8021, allocations: 2.966 MB / 1.013 GB, free: 109.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.8021, allocations: 13.38 kB / 1.013 GB, free: 109.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.69e-05/0.8021, allocations: 14.5 kB / 1.013 GB, free: 109.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.8021, allocations: 10.91 kB / 1.013 GB, free: 109.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01163/0.8138, allocations: 6.715 MB / 1.019 GB, free: 106.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.8138, allocations: 9.156 kB / 1.019 GB, free: 106.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007434/0.8145, allocations: 181 kB / 1.019 GB, free: 106.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002134/0.8167, allocations: 0.8154 MB / 1.02 GB, free: 106.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.595e-05/0.8168, allocations: 31.12 kB / 1.02 GB, free: 106.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01425/0.831, allocations: 20.6 MB / 1.04 GB, free: 86.96 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.831, allocations: 12 kB / 1.04 GB, free: 86.95 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004248/0.8353, allocations: 3.017 MB / 1.043 GB, free: 83.86 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.8363, allocations: 390.5 kB / 1.044 GB, free: 83.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003267/0.8366, allocations: 28.75 kB / 1.044 GB, free: 83.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008816/0.8375, allocations: 75.91 kB / 1.044 GB, free: 83.38 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/0.8378, allocations: 124.7 kB / 1.044 GB, free: 83.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-05/0.8378, allocations: 40 kB / 1.044 GB, free: 83.21 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001153/0.839, allocations: 0.9794 MB / 1.045 GB, free: 82.21 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.839, allocations: 0 / 1.045 GB, free: 82.21 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002471/0.8415, allocations: 0.7929 MB / 1.046 GB, free: 81.42 MB / 0.7169 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004241/0.8457, allocations: 3.603 MB / 1.049 GB, free: 77.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004679/0.8504, allocations: 3.916 MB / 1.053 GB, free: 73.64 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.8504, allocations: 0 / 1.053 GB, free: 73.64 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002861/0.8533, allocations: 2.666 MB / 1.056 GB, free: 70.82 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002787/0.856, allocations: 0.7395 MB / 1.056 GB, free: 70.12 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02782/0.8839, allocations: 22.51 MB / 1.078 GB, free: 46.62 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00285/0.8867, allocations: 2.569 MB / 1.081 GB, free: 44.02 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0011/0.8878, allocations: 453.9 kB / 1.081 GB, free: 43.57 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/0.8892, allocations: 1.542 MB / 1.083 GB, free: 42.03 MB / 0.7169 GB Notification: Performance of SimCode: time 1.173e-06/0.8892, allocations: 0 / 1.083 GB, free: 42.03 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1298/1.019, allocations: 65.78 MB / 1.147 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/14.45, allocations: 0 / 1.147 GB, free: 9.203 MB / 0.7481 GB " [Timeout remaining time 645] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.806384676136076] Failed to read output from testmodel.py, exit status != 0: 14.596730364020914 14.623461598 14.323376576 Calling exit ...