Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.00129/0.00129, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.001404/0.001404, allocations: 210.6 kB / 22.25 MB, free: 5.137 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.348/1.348, allocations: 230.6 MB / 256 MB, free: 8 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.00246/0.00246, allocations: 293.8 kB / 312.7 MB, free: 2.812 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.122/1.122, allocations: 180.6 MB / 0.5369 GB, free: 12.95 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.ACLineMatrix_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.002749/0.002749, allocations: 103.7 kB / 0.7396 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1488, allocations: 95.39 MB / 0.8327 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02793/0.1767, allocations: 23.62 MB / 0.8558 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01249/0.1892, allocations: 6.436 MB / 0.8621 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001942/0.1911, allocations: 127 kB / 0.8622 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004121/0.1953, allocations: 1.623 MB / 0.8638 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003757/0.199, allocations: 1.727 MB / 0.8655 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003137/0.2021, allocations: 1.388 MB / 0.8668 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006785/0.2089, allocations: 5.94 MB / 0.8726 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004959/0.2139, allocations: 3.217 MB / 0.8758 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003717/0.2176, allocations: 2.489 MB / 0.8782 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004772/0.2224, allocations: 3.065 MB / 0.8812 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001147/0.2235, allocations: 460 kB / 0.8817 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002766/0.2263, allocations: 1.108 MB / 0.8827 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002948/0.2292, allocations: 2.096 MB / 0.8848 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004132/0.2334, allocations: 2.163 MB / 0.8869 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008572/0.2419, allocations: 7.312 MB / 0.894 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.242, allocations: 3.984 kB / 0.894 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.412e-06/0.242, allocations: 0 / 0.894 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001299/0.2421, allocations: 4 kB / 0.894 GB, free: 9.594 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.00676/0.2488, allocations: 3.842 MB / 0.8978 GB, free: 5.703 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.2489, allocations: 9.344 kB / 0.8978 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000668/0.2496, allocations: 0.4976 MB / 0.8983 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005453/0.255, allocations: 1.231 MB / 0.8995 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004333/0.2593, allocations: 2.304 MB / 0.9017 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/0.2595, allocations: 242.4 kB / 0.902 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005053/0.26, allocations: 311.9 kB / 0.9023 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008912/0.2689, allocations: 6.209 MB / 0.9083 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.736e-05/0.269, allocations: 19.83 kB / 0.9083 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003315/0.2694, allocations: 139.9 kB / 0.9085 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000472/0.2698, allocations: 406.3 kB / 0.9089 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00718/0.277, allocations: 4.662 MB / 0.9134 GB, free: 5.367 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02938/0.3064, allocations: 28.75 MB / 0.9415 GB, free: 5.891 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/0.3084, allocations: 1.373 MB / 0.9428 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001878/0.3103, allocations: 1.436 MB / 0.9442 GB, free: 3.07 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.3104, allocations: 16.98 kB / 0.9443 GB, free: 3.051 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.3104, allocations: 51.48 kB / 0.9443 GB, free: 2.992 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=110): time 2.395e-06/0.3104, allocations: 4 kB / 0.9443 GB, free: 2.988 MB / 0.6856 GB Notification: Performance of matching and sorting (n=179): time 0.1302/0.4406, allocations: 37.06 MB / 0.9805 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.4406, allocations: 77.34 kB / 0.9806 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002056/0.4427, allocations: 1.419 MB / 0.982 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002212/0.4429, allocations: 61.7 kB / 0.982 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001107/0.444, allocations: 1.579 MB / 0.9836 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006606/0.4447, allocations: 0.6429 MB / 0.9842 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007378/0.4454, allocations: 383.5 kB / 0.9846 GB, free: 9.668 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.4455, allocations: 301.1 kB / 0.9848 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002568/0.4481, allocations: 1.788 MB / 0.9866 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003007/0.4511, allocations: 2.35 MB / 0.9889 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005827/0.4569, allocations: 4.387 MB / 0.9932 GB, free: 356 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/0.457, allocations: 8 kB / 0.9932 GB, free: 348 kB / 0.7325 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.3187/0.7757, allocations: 8.427 MB / 1.001 GB, free: 147.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.7757, allocations: 11.27 kB / 1.001 GB, free: 147.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.7757, allocations: 18.62 kB / 1.001 GB, free: 147.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0133/0.789, allocations: 4.635 MB / 1.006 GB, free: 146.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.7902, allocations: 302.9 kB / 1.006 GB, free: 146.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03709/0.8273, allocations: 32.02 MB / 1.038 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.8289, allocations: 151.8 kB / 1.038 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.8291, allocations: 83.98 kB / 1.038 GB, free: 126.6 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001592/0.8307, allocations: 1.33 MB / 1.039 GB, free: 125.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/0.8309, allocations: 210.7 kB / 1.039 GB, free: 125 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/0.8446, allocations: 8.297 MB / 1.047 GB, free: 116.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.8446, allocations: 17.59 kB / 1.047 GB, free: 116.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.068e-05/0.8446, allocations: 24 kB / 1.047 GB, free: 116.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.8446, allocations: 7.969 kB / 1.047 GB, free: 116.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01841/0.863, allocations: 12.68 MB / 1.06 GB, free: 103.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/0.863, allocations: 7.984 kB / 1.06 GB, free: 103.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005777/0.8636, allocations: 164.6 kB / 1.06 GB, free: 103.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01142/0.875, allocations: 4.485 MB / 1.064 GB, free: 99.15 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001436/0.8752, allocations: 36 kB / 1.064 GB, free: 99.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03396/0.9091, allocations: 31.62 MB / 1.095 GB, free: 66.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.9091, allocations: 4 kB / 1.095 GB, free: 66.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01314/0.9223, allocations: 8.108 MB / 1.103 GB, free: 58.61 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/0.9236, allocations: 0.5492 MB / 1.104 GB, free: 58.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002793/0.9239, allocations: 43.92 kB / 1.104 GB, free: 58.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.925, allocations: 139.8 kB / 1.104 GB, free: 57.88 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005886/0.9256, allocations: 176.9 kB / 1.104 GB, free: 57.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.9257, allocations: 44 kB / 1.104 GB, free: 57.66 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009002/0.9266, allocations: 0.9626 MB / 1.105 GB, free: 56.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.9266, allocations: 6.562 kB / 1.105 GB, free: 56.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002415/0.9291, allocations: 1.109 MB / 1.106 GB, free: 55.59 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01325/0.9423, allocations: 8.7 MB / 1.115 GB, free: 46.75 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009533/0.9518, allocations: 6.317 MB / 1.121 GB, free: 40.38 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.361e-06/0.9518, allocations: 192 / 1.121 GB, free: 40.38 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007161/0.959, allocations: 4.181 MB / 1.125 GB, free: 36.12 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/0.9612, allocations: 0.5317 MB / 1.125 GB, free: 35.64 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0449/1.006, allocations: 33.54 MB / 1.158 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002588/1.009, allocations: 2.719 MB / 1.161 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001028/1.01, allocations: 392.5 kB / 1.161 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001404/1.011, allocations: 1.214 MB / 1.162 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of SimCode: time 7.01e-07/1.011, allocations: 0 / 1.162 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.162/1.173, allocations: 86.62 MB / 1.247 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/15.45, allocations: 15.75 kB / 1.247 GB, free: 6.648 MB / 0.8262 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.46399999805726] Failed to read output from testmodel.py, exit status != 0: 15.590029442915693 15.605917288 15.360859448 Calling exit ...