Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001545/0.001545, allocations: 118.7 kB / 17.13 MB, free: 5.918 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.001813/0.001813, allocations: 192.7 kB / 20.08 MB, free: 2.988 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.456/1.456, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8517/0.8517, allocations: 129.2 MB / 432.5 MB, free: 13.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 67.89 kB / 0.5987 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3846, allocations: 83.44 MB / 0.6802 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005868/0.3905, allocations: 5.519 MB / 0.6856 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003757/0.3943, allocations: 2.663 MB / 0.6882 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003285/0.3946, allocations: 24.72 kB / 0.6882 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.3965, allocations: 0.6912 MB / 0.6889 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.3975, allocations: 422.1 kB / 0.6893 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009994/0.3985, allocations: 398.8 kB / 0.6897 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001264/0.3998, allocations: 0.9548 MB / 0.6906 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006552/0.4004, allocations: 365.8 kB / 0.6909 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006121/0.4011, allocations: 376.1 kB / 0.6913 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006427/0.4017, allocations: 428.7 kB / 0.6917 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.983e-05/0.4018, allocations: 48 kB / 0.6917 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007524/0.4025, allocations: 372.1 kB / 0.6921 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002799/0.4028, allocations: 253.8 kB / 0.6923 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000373/0.4032, allocations: 347.8 kB / 0.6927 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.4044, allocations: 0.9801 MB / 0.6936 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4044, allocations: 0 / 0.6936 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4044, allocations: 4 kB / 0.6936 GB, free: 12 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.4045, allocations: 1.031 kB / 0.6936 GB, free: 12 MB / 0.5137 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.001749/0.4062, allocations: 0.9839 MB / 0.6946 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.4063, allocations: 10.06 kB / 0.6946 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001332/0.4064, allocations: 108.3 kB / 0.6947 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.4078, allocations: 190.9 kB / 0.6949 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009231/0.4087, allocations: 0.5275 MB / 0.6954 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.771e-05/0.4088, allocations: 45.83 kB / 0.6955 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.4089, allocations: 57.95 kB / 0.6955 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.4101, allocations: 0.8313 MB / 0.6963 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.4102, allocations: 3.25 kB / 0.6963 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.763e-05/0.4102, allocations: 18.59 kB / 0.6963 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001841/0.4104, allocations: 66.58 kB / 0.6964 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009175/0.4113, allocations: 0.5761 MB / 0.697 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004892/0.4162, allocations: 4.573 MB / 0.7014 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004761/0.4167, allocations: 277.5 kB / 0.7017 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.417, allocations: 216 kB / 0.7019 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.417, allocations: 2.625 kB / 0.7019 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.417, allocations: 37.28 kB / 0.7019 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 2.054e-06/0.417, allocations: 1.219 kB / 0.7019 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40): time 0.005648/0.4227, allocations: 2.641 MB / 0.7045 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.4227, allocations: 54.94 kB / 0.7046 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005397/0.4233, allocations: 458.3 kB / 0.705 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.465e-05/0.4233, allocations: 38.98 kB / 0.705 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/0.4236, allocations: 348.6 kB / 0.7054 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.4237, allocations: 149.8 kB / 0.7055 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.4239, allocations: 110 kB / 0.7056 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.4241, allocations: 366.5 kB / 0.706 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/0.4245, allocations: 232.2 kB / 0.7062 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/0.425, allocations: 405.9 kB / 0.7066 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009526/0.4259, allocations: 0.6825 MB / 0.7073 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4259, allocations: 1.969 kB / 0.7073 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001751/0.4277, allocations: 0.9123 MB / 0.7081 GB, free: 456 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.4277, allocations: 8 kB / 0.7082 GB, free: 448 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.4277, allocations: 8 kB / 0.7082 GB, free: 440 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00078/0.4285, allocations: 218.8 kB / 0.7084 GB, free: 212 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005233/0.429, allocations: 119.8 kB / 0.7085 GB, free: 92 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005885/0.4349, allocations: 5.333 MB / 0.7137 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005238/0.4354, allocations: 31.97 kB / 0.7137 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.4355, allocations: 20 kB / 0.7137 GB, free: 10.28 MB / 0.5294 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.0003641/0.4358, allocations: 230.8 kB / 0.714 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.4359, allocations: 67.56 kB / 0.714 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/0.4375, allocations: 0.7618 MB / 0.7148 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.4375, allocations: 4.188 kB / 0.7148 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.4375, allocations: 15.88 kB / 0.7148 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4375, allocations: 0 / 0.7148 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/0.4402, allocations: 1.487 MB / 0.7162 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4402, allocations: 4 kB / 0.7162 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/0.4406, allocations: 63.94 kB / 0.7163 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000695/0.4413, allocations: 210.6 kB / 0.7165 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-05/0.4413, allocations: 12 kB / 0.7165 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005644/0.447, allocations: 5.282 MB / 0.7217 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.447, allocations: 0 / 0.7217 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.449, allocations: 1.128 MB / 0.7228 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003376/0.4493, allocations: 176.6 kB / 0.7229 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.096e-05/0.4494, allocations: 11.98 kB / 0.723 GB, free: 244 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/0.4497, allocations: 23.97 kB / 0.723 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/0.4498, allocations: 39.89 kB / 0.723 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.4498, allocations: 12 kB / 0.723 GB, free: 168 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003952/0.4502, allocations: 310.9 kB / 0.7233 GB, free: 15.86 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4502, allocations: 4 kB / 0.7233 GB, free: 15.86 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007322/0.451, allocations: 164 kB / 0.7235 GB, free: 15.7 MB / 0.545 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.002217/0.4532, allocations: 1.7 MB / 0.7251 GB, free: 13.94 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001737/0.4549, allocations: 0.9614 MB / 0.7261 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4549, allocations: 0 / 0.7261 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.456, allocations: 0.6563 MB / 0.7267 GB, free: 12.24 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009005/0.4569, allocations: 177.8 kB / 0.7269 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008407/0.4653, allocations: 5.612 MB / 0.7324 GB, free: 6.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006233/0.4659, allocations: 0.9455 MB / 0.7333 GB, free: 5.207 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003595/0.4663, allocations: 121 kB / 0.7334 GB, free: 5.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.4666, allocations: 211.4 kB / 0.7336 GB, free: 4.883 MB / 0.545 GB Notification: Performance of SimCode: time 7.51e-07/0.4666, allocations: 3.938 kB / 0.7336 GB, free: 4.879 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05039/0.5169, allocations: 14.19 MB / 0.7475 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.55, allocations: 12.52 kB / 0.7475 GB, free: 6.926 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.057172046042979] Failed to read output from testmodel.py, exit status != 0: 11.640557830221951 11.663783468 11.255003711 Calling exit ...