Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002331/0.002331, allocations: 286.1 kB / 303 MB, free: 9.52 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.099/1.099, allocations: 180.9 MB / 0.5261 GB, free: 14.76 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002626/0.002626, allocations: 104.9 kB / 0.7248 GB, free: 40.07 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1323, allocations: 94.16 MB / 0.8167 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006924/0.1392, allocations: 5.529 MB / 0.8221 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003962/0.1432, allocations: 2.658 MB / 0.8247 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.1434, allocations: 19.88 kB / 0.8247 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001655/0.1451, allocations: 0.6836 MB / 0.8254 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007665/0.1458, allocations: 421.7 kB / 0.8258 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008114/0.1466, allocations: 395 kB / 0.8262 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009232/0.1476, allocations: 0.9591 MB / 0.8271 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005132/0.1481, allocations: 374.8 kB / 0.8275 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004212/0.1485, allocations: 374.6 kB / 0.8278 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004976/0.149, allocations: 426.4 kB / 0.8282 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.998e-05/0.1491, allocations: 48 kB / 0.8283 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005405/0.1496, allocations: 375.2 kB / 0.8286 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002467/0.1498, allocations: 259.2 kB / 0.8289 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003283/0.1502, allocations: 350.2 kB / 0.8292 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.1512, allocations: 0.9767 MB / 0.8302 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.1512, allocations: 0 / 0.8302 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1512, allocations: 0 / 0.8302 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.1512, allocations: 0 / 0.8302 GB, free: 7.688 MB / 0.5762 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.001482/0.1527, allocations: 0.9922 MB / 0.8312 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.1527, allocations: 12.02 kB / 0.8312 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.1528, allocations: 94.7 kB / 0.8313 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/0.1541, allocations: 196.2 kB / 0.8314 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008221/0.1549, allocations: 0.5262 MB / 0.832 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.1549, allocations: 37.38 kB / 0.832 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.1551, allocations: 60.44 kB / 0.832 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.1562, allocations: 0.8278 MB / 0.8329 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.1562, allocations: 7.938 kB / 0.8329 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.1562, allocations: 20 kB / 0.8329 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001724/0.1564, allocations: 68.94 kB / 0.8329 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000846/0.1573, allocations: 0.5697 MB / 0.8335 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004342/0.1616, allocations: 4.566 MB / 0.838 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004533/0.1621, allocations: 287.2 kB / 0.8382 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.1624, allocations: 213.3 kB / 0.8384 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.1624, allocations: 4.281 kB / 0.8384 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.1624, allocations: 38.84 kB / 0.8385 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.432e-06/0.1624, allocations: 0 / 0.8385 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.005189/0.1676, allocations: 2.635 MB / 0.8411 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.1676, allocations: 55.41 kB / 0.8411 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004483/0.1681, allocations: 462 kB / 0.8415 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.1681, allocations: 33.7 kB / 0.8416 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.1683, allocations: 348.5 kB / 0.8419 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.1685, allocations: 154.7 kB / 0.8421 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.1686, allocations: 106.2 kB / 0.8422 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1688, allocations: 362.8 kB / 0.8425 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/0.1691, allocations: 237 kB / 0.8427 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004748/0.1696, allocations: 402.4 kB / 0.8431 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000862/0.1705, allocations: 0.6824 MB / 0.8438 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.1705, allocations: 4 kB / 0.8438 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001581/0.172, allocations: 0.9096 MB / 0.8447 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1721, allocations: 8 kB / 0.8447 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.1721, allocations: 8.656 kB / 0.8447 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007133/0.1728, allocations: 218.4 kB / 0.8449 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004624/0.1732, allocations: 115.8 kB / 0.845 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005109/0.1783, allocations: 5.34 MB / 0.8502 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.1787, allocations: 31.97 kB / 0.8503 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.1788, allocations: 23.94 kB / 0.8503 GB, free: 1.777 MB / 0.5919 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.0002752/0.179, allocations: 225.7 kB / 0.8505 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.052e-05/0.1791, allocations: 67.5 kB / 0.8506 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.1805, allocations: 0.7619 MB / 0.8513 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1806, allocations: 4 kB / 0.8513 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.1806, allocations: 4 kB / 0.8513 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1806, allocations: 0 / 0.8513 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/0.183, allocations: 1.495 MB / 0.8528 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.183, allocations: 4 kB / 0.8528 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.1833, allocations: 72 kB / 0.8528 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006376/0.1839, allocations: 210.6 kB / 0.853 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.184, allocations: 12 kB / 0.8531 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004869/0.1888, allocations: 5.27 MB / 0.8582 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1888, allocations: 4 kB / 0.8582 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.1906, allocations: 1.131 MB / 0.8593 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/0.1908, allocations: 180.6 kB / 0.8595 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.583e-05/0.1909, allocations: 11.98 kB / 0.8595 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.1912, allocations: 23.97 kB / 0.8595 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/0.1913, allocations: 43.95 kB / 0.8596 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.1913, allocations: 16 kB / 0.8596 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003262/0.1916, allocations: 306.9 kB / 0.8599 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.1916, allocations: 0 / 0.8599 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005822/0.1922, allocations: 164 kB / 0.86 GB, free: 7.191 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.002064/0.1943, allocations: 1.696 MB / 0.8617 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001496/0.1958, allocations: 0.9658 MB / 0.8626 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.1958, allocations: 0 / 0.8626 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009123/0.1967, allocations: 0.6642 MB / 0.8633 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007956/0.1975, allocations: 192.6 kB / 0.8635 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007395/0.2049, allocations: 5.609 MB / 0.8689 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005852/0.2055, allocations: 0.9532 MB / 0.8699 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003146/0.2058, allocations: 109 kB / 0.87 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000254/0.206, allocations: 211.4 kB / 0.8702 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of SimCode: time 5.51e-07/0.206, allocations: 0 / 0.8702 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04676/0.2528, allocations: 14.23 MB / 0.8841 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.835/10.09, allocations: 4.438 kB / 0.8841 GB, free: 14.43 MB / 0.6387 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.793261243030429] Failed to read output from testmodel.py, exit status != 0: 10.18073815992102 10.196632034 10.042426012 Calling exit ...