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.001322/0.001322, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001515/0.001515, allocations: 218.7 kB / 23.03 MB, free: 4.949 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002616/0.002616, allocations: 293.5 kB / 313.5 MB, free: 2.629 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.225/1.225, allocations: 180.6 MB / 0.5377 GB, free: 14.52 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="cs",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="cs",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.002879/0.002879, allocations: 103.5 kB / 0.7403 GB, free: 28.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1685, allocations: 95.38 MB / 0.8334 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02829/0.1968, allocations: 21.53 MB / 0.8544 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01156/0.2083, allocations: 6.171 MB / 0.8605 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001719/0.21, allocations: 123.1 kB / 0.8606 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004162/0.2142, allocations: 1.55 MB / 0.8621 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004234/0.2184, allocations: 1.743 MB / 0.8638 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00332/0.2217, allocations: 1.341 MB / 0.8651 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007337/0.2291, allocations: 5.936 MB / 0.8709 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005585/0.2347, allocations: 3.221 MB / 0.8741 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00412/0.2388, allocations: 2.5 MB / 0.8765 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005488/0.2443, allocations: 3.061 MB / 0.8795 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.00127/0.2455, allocations: 459.9 kB / 0.8799 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002754/0.2483, allocations: 1.038 MB / 0.8809 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002872/0.2512, allocations: 2.081 MB / 0.883 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004545/0.2557, allocations: 1.751 MB / 0.8847 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01191/0.2676, allocations: 7.355 MB / 0.8919 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.2676, allocations: 0 / 0.8919 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2676, allocations: 0 / 0.8919 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002782/0.2679, allocations: 0 / 0.8919 GB, free: 12.26 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.008114/0.276, allocations: 3.845 MB / 0.8956 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.2761, allocations: 9.344 kB / 0.8956 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.945e-05/0.2762, allocations: 86.61 kB / 0.8957 GB, free: 8.273 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007236/0.2769, allocations: 0.5015 MB / 0.8962 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006156/0.283, allocations: 1.227 MB / 0.8974 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00482/0.2879, allocations: 2.308 MB / 0.8996 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002197/0.2881, allocations: 238.4 kB / 0.8999 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007148/0.2888, allocations: 311.9 kB / 0.9002 GB, free: 3.633 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/0.3002, allocations: 6.45 MB / 0.9065 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.419e-05/0.3003, allocations: 15.88 kB / 0.9065 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004035/0.3007, allocations: 143.9 kB / 0.9066 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005624/0.3012, allocations: 402.3 kB / 0.907 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008739/0.31, allocations: 4.662 MB / 0.9116 GB, free: 7.652 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.02936/0.3393, allocations: 18.66 MB / 0.9298 GB, free: 4.469 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/0.3415, allocations: 1.361 MB / 0.9311 GB, free: 3.098 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001972/0.3434, allocations: 1.44 MB / 0.9325 GB, free: 1.656 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 9.1e-05/0.3435, allocations: 9 kB / 0.9325 GB, free: 1.645 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/0.3436, allocations: 51.5 kB / 0.9326 GB, free: 1.586 MB / 0.67 GB Notification: Performance of pre-optimization done (n=110): time 3.597e-06/0.3436, allocations: 0 / 0.9326 GB, free: 1.586 MB / 0.67 GB Notification: Performance of matching and sorting (n=179): time 0.1373/0.4809, allocations: 37.07 MB / 0.9688 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.024e-05/0.481, allocations: 77.34 kB / 0.9689 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002443/0.4834, allocations: 1.419 MB / 0.9702 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003707/0.4838, allocations: 53.7 kB / 0.9703 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001353/0.4851, allocations: 1.586 MB / 0.9718 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008204/0.4859, allocations: 0.6429 MB / 0.9725 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009236/0.4869, allocations: 383.5 kB / 0.9728 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.487, allocations: 305.1 kB / 0.9731 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002889/0.4899, allocations: 1.784 MB / 0.9749 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003362/0.4933, allocations: 2.346 MB / 0.9772 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4346/0.9279, allocations: 4.39 MB / 0.9814 GB, free: 132.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.857e-05/0.9279, allocations: 4.875 kB / 0.9814 GB, free: 132.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01896/0.9468, allocations: 8.424 MB / 0.9897 GB, free: 130.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/0.9469, allocations: 14.81 kB / 0.9897 GB, free: 130.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.654e-05/0.9469, allocations: 19.88 kB / 0.9897 GB, free: 130.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01544/0.9624, allocations: 4.618 MB / 0.9942 GB, free: 129.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.9637, allocations: 300.6 kB / 0.9945 GB, free: 129.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03771/1.001, allocations: 31.59 MB / 1.025 GB, free: 109.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/1.003, allocations: 152.8 kB / 1.025 GB, free: 109.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002346/1.004, allocations: 80 kB / 1.026 GB, free: 109.2 MB / 0.7169 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.002043/1.006, allocations: 1.334 MB / 1.027 GB, free: 107.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005039/1.006, allocations: 213.1 kB / 1.027 GB, free: 107.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01405/1.02, allocations: 8.292 MB / 1.035 GB, free: 99.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/1.02, allocations: 16 kB / 1.035 GB, free: 99.32 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.959e-05/1.02, allocations: 28 kB / 1.035 GB, free: 99.29 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.158e-05/1.02, allocations: 7.969 kB / 1.035 GB, free: 99.29 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01928/1.04, allocations: 12.21 MB / 1.047 GB, free: 86.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/1.04, allocations: 10.84 kB / 1.047 GB, free: 86.94 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006273/1.04, allocations: 160.6 kB / 1.047 GB, free: 86.78 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01249/1.053, allocations: 4.48 MB / 1.052 GB, free: 82.29 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002476/1.053, allocations: 32 kB / 1.052 GB, free: 82.26 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03622/1.089, allocations: 31.21 MB / 1.082 GB, free: 50.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.089, allocations: 8 kB / 1.082 GB, free: 50.39 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01389/1.103, allocations: 8.104 MB / 1.09 GB, free: 42.16 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/1.105, allocations: 0.5531 MB / 1.091 GB, free: 41.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003967/1.105, allocations: 36 kB / 1.091 GB, free: 41.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/1.106, allocations: 139.8 kB / 1.091 GB, free: 41.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008081/1.107, allocations: 176.9 kB / 1.091 GB, free: 41.26 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/1.107, allocations: 48 kB / 1.091 GB, free: 41.21 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00108/1.108, allocations: 0.9634 MB / 1.092 GB, free: 40.26 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/1.108, allocations: 0 / 1.092 GB, free: 40.26 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002912/1.111, allocations: 1.121 MB / 1.093 GB, free: 39.14 MB / 0.7169 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.01393/1.125, allocations: 8.691 MB / 1.102 GB, free: 30.31 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01023/1.135, allocations: 6.32 MB / 1.108 GB, free: 23.93 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/1.135, allocations: 0 / 1.108 GB, free: 23.93 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007676/1.143, allocations: 4.186 MB / 1.112 GB, free: 19.68 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/1.146, allocations: 0.5308 MB / 1.112 GB, free: 19.18 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05651/1.202, allocations: 33.53 MB / 1.145 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003652/1.206, allocations: 2.162 MB / 1.147 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001347/1.207, allocations: 388.5 kB / 1.148 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00179/1.209, allocations: 1.214 MB / 1.149 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of SimCode: time 1.994e-06/1.209, allocations: 0 / 1.149 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1709/1.38, allocations: 89.5 MB / 1.236 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.56/16.93, allocations: 11.5 kB / 1.236 GB, free: 4.191 MB / 0.8262 GB " [Timeout remaining time 643] (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: 21.603351144003682] Failed to read output from testmodel.py, exit status != 0: 17.13975000299979 17.157161145 16.886135102 Calling exit ...