Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_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.001266/0.001266, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001333/0.001333, allocations: 210.2 kB / 20.13 MB, free: 2.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.472/1.472, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.002366/0.002366, allocations: 281.9 kB / 309.8 MB, free: 3.484 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.115/1.115, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.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_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_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.003446/0.003446, allocations: 95.86 kB / 0.7347 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.508/0.5114, allocations: 95.34 MB / 0.8278 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006311/0.5178, allocations: 5.631 MB / 0.8333 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004737/0.5225, allocations: 2.714 MB / 0.8359 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003628/0.5229, allocations: 33.81 kB / 0.836 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.5247, allocations: 0.6848 MB / 0.8366 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0009842/0.5257, allocations: 428.9 kB / 0.837 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.5267, allocations: 408.3 kB / 0.8374 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001066/0.5278, allocations: 0.955 MB / 0.8384 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005364/0.5283, allocations: 370.5 kB / 0.8387 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005428/0.5289, allocations: 386.3 kB / 0.8391 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006207/0.5295, allocations: 434.8 kB / 0.8395 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.693e-05/0.5296, allocations: 55.22 kB / 0.8395 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006585/0.5302, allocations: 369.5 kB / 0.8399 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002673/0.5305, allocations: 255 kB / 0.8401 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003624/0.5308, allocations: 351.2 kB / 0.8405 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.5321, allocations: 0.9786 MB / 0.8414 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5321, allocations: 0 / 0.8414 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5321, allocations: 1.156 kB / 0.8414 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.5321, allocations: 0 / 0.8414 GB, free: 10.8 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001718/0.5339, allocations: 0.9979 MB / 0.8424 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.5339, allocations: 9.031 kB / 0.8424 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.612e-05/0.5339, allocations: 14.22 kB / 0.8424 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001397/0.5341, allocations: 100.2 kB / 0.8425 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/0.5355, allocations: 207.2 kB / 0.8427 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008773/0.5364, allocations: 0.5224 MB / 0.8432 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.402e-05/0.5364, allocations: 42.58 kB / 0.8433 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.5366, allocations: 60.12 kB / 0.8433 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.5378, allocations: 0.8255 MB / 0.8441 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.5379, allocations: 3.016 kB / 0.8441 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.828e-05/0.538, allocations: 36.3 kB / 0.8442 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001964/0.5382, allocations: 63.28 kB / 0.8442 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.5392, allocations: 0.5724 MB / 0.8448 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005152/0.5444, allocations: 4.58 MB / 0.8493 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005049/0.5449, allocations: 273.1 kB / 0.8495 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003293/0.5452, allocations: 211.5 kB / 0.8497 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.5452, allocations: 3.688 kB / 0.8497 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.5453, allocations: 36.78 kB / 0.8498 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.863e-06/0.5453, allocations: 1.125 kB / 0.8498 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.006006/0.5513, allocations: 2.639 MB / 0.8523 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.5513, allocations: 59.72 kB / 0.8524 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005664/0.5519, allocations: 464.9 kB / 0.8528 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.5519, allocations: 32.44 kB / 0.8529 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/0.5522, allocations: 354.5 kB / 0.8532 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.5523, allocations: 150.8 kB / 0.8534 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.5525, allocations: 106 kB / 0.8535 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.5527, allocations: 364.7 kB / 0.8538 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003831/0.5531, allocations: 241.5 kB / 0.854 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005149/0.5536, allocations: 400.7 kB / 0.8544 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009322/0.5545, allocations: 0.6814 MB / 0.8551 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5545, allocations: 2.188 kB / 0.8551 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001771/0.5563, allocations: 0.9158 MB / 0.856 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.5563, allocations: 12.19 kB / 0.856 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.5563, allocations: 5.312 kB / 0.856 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008452/0.5572, allocations: 220.1 kB / 0.8562 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000534/0.5577, allocations: 116.4 kB / 0.8563 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005839/0.5636, allocations: 5.353 MB / 0.8615 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005418/0.5641, allocations: 30.94 kB / 0.8616 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/0.5642, allocations: 22.89 kB / 0.8616 GB, free: 12.2 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,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.0003619/0.5645, allocations: 233.1 kB / 0.8618 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.5646, allocations: 62.38 kB / 0.8619 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.5663, allocations: 0.7612 MB / 0.8626 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.5663, allocations: 8.375 kB / 0.8626 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.5663, allocations: 2.406 kB / 0.8626 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5663, allocations: 0 / 0.8626 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/0.5688, allocations: 1.485 MB / 0.8641 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.5688, allocations: 6.656 kB / 0.8641 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003871/0.5692, allocations: 64.5 kB / 0.8642 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007352/0.57, allocations: 212.5 kB / 0.8644 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.57, allocations: 7 kB / 0.8644 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005381/0.5754, allocations: 5.277 MB / 0.8695 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5754, allocations: 1.375 kB / 0.8695 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/0.5773, allocations: 1.13 MB / 0.8706 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003402/0.5776, allocations: 177.9 kB / 0.8708 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.342e-05/0.5777, allocations: 12.67 kB / 0.8708 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003467/0.5781, allocations: 31.56 kB / 0.8708 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.258e-05/0.5781, allocations: 32.7 kB / 0.8709 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-05/0.5782, allocations: 17.12 kB / 0.8709 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003842/0.5786, allocations: 313.3 kB / 0.8712 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5786, allocations: 0 / 0.8712 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007468/0.5793, allocations: 166.5 kB / 0.8713 GB, free: 4.258 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002214/0.5815, allocations: 1.696 MB / 0.873 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00173/0.5833, allocations: 0.9648 MB / 0.8739 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5833, allocations: 0.7812 kB / 0.8739 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.5843, allocations: 0.6698 MB / 0.8746 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009212/0.5852, allocations: 182.6 kB / 0.8748 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008625/0.5938, allocations: 5.642 MB / 0.8803 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006593/0.5945, allocations: 0.9496 MB / 0.8812 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004281/0.5949, allocations: 114.6 kB / 0.8813 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/0.5952, allocations: 208.9 kB / 0.8815 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of SimCode: time 1.342e-06/0.5952, allocations: 0 / 0.8815 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04397/0.6392, allocations: 14.38 MB / 0.8956 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.22, allocations: 9.047 kB / 0.8956 GB, free: 2.746 MB / 0.6231 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.302373582031578] Failed to read output from testmodel.py, exit status != 0: 12.365568299021106 12.380720611 11.845625739 Calling exit ...