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.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.001678/0.001678, allocations: 115.6 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.002013/0.002013, allocations: 215 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.504/1.504, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.002491/0.002491, allocations: 283.4 kB / 309.8 MB, free: 3.504 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.106/1.106, allocations: 180.6 MB / 0.5338 GB, free: 12.37 MB / 398.1 MB " [Timeout remaining time 178] 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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="cs",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="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.002937/0.002937, allocations: 115.8 kB / 0.7347 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5326/0.5355, allocations: 95.33 MB / 0.8278 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006378/0.5419, allocations: 5.568 MB / 0.8332 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004915/0.5468, allocations: 2.68 MB / 0.8358 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004963/0.5473, allocations: 31.28 kB / 0.8359 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00197/0.5493, allocations: 0.6922 MB / 0.8365 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001184/0.5505, allocations: 427.2 kB / 0.8369 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.5516, allocations: 391.9 kB / 0.8373 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001285/0.5529, allocations: 0.9461 MB / 0.8382 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006013/0.5535, allocations: 374.7 kB / 0.8386 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006406/0.5542, allocations: 390.4 kB / 0.839 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005968/0.5548, allocations: 426.5 kB / 0.8394 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.186e-05/0.5548, allocations: 51.5 kB / 0.8394 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007205/0.5555, allocations: 370.8 kB / 0.8398 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002773/0.5558, allocations: 256.9 kB / 0.84 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003655/0.5562, allocations: 345 kB / 0.8404 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.5576, allocations: 0.9799 MB / 0.8413 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5576, allocations: 0 / 0.8413 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5576, allocations: 1.406 kB / 0.8413 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.817e-05/0.5576, allocations: 0 / 0.8413 GB, free: 10.88 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.001892/0.5595, allocations: 0.9867 MB / 0.8423 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.5595, allocations: 10.12 kB / 0.8423 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.549e-05/0.5596, allocations: 13.72 kB / 0.8423 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001355/0.5597, allocations: 104.9 kB / 0.8424 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/0.5612, allocations: 194 kB / 0.8426 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009167/0.5621, allocations: 0.5163 MB / 0.8431 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.245e-05/0.5622, allocations: 46.61 kB / 0.8431 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.5624, allocations: 63.38 kB / 0.8432 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.5637, allocations: 0.8305 MB / 0.844 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/0.5638, allocations: 6.531 kB / 0.844 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.966e-05/0.5638, allocations: 24.17 kB / 0.844 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002082/0.564, allocations: 70.98 kB / 0.8441 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.5651, allocations: 0.5654 MB / 0.8447 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005411/0.5705, allocations: 4.571 MB / 0.8491 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005452/0.5711, allocations: 292.2 kB / 0.8494 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.5714, allocations: 212 kB / 0.8496 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.5714, allocations: 3.844 kB / 0.8496 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.5715, allocations: 37.06 kB / 0.8496 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.565e-06/0.5715, allocations: 0 / 0.8496 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.00636/0.5778, allocations: 2.627 MB / 0.8522 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.5779, allocations: 63.91 kB / 0.8523 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006022/0.5785, allocations: 452.4 kB / 0.8527 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.968e-05/0.5785, allocations: 35.92 kB / 0.8527 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.5788, allocations: 350.3 kB / 0.8531 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.579, allocations: 154.7 kB / 0.8532 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.5792, allocations: 101.7 kB / 0.8533 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.5794, allocations: 363.9 kB / 0.8537 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003949/0.5797, allocations: 234.7 kB / 0.8539 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005444/0.5803, allocations: 412.9 kB / 0.8543 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009813/0.5813, allocations: 0.6732 MB / 0.8549 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.5813, allocations: 1.062 kB / 0.8549 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001896/0.5832, allocations: 0.916 MB / 0.8558 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.5832, allocations: 11.81 kB / 0.8558 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.5832, allocations: 6.094 kB / 0.8558 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008637/0.5841, allocations: 223.4 kB / 0.8561 GB, free: 1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/0.5846, allocations: 116.8 kB / 0.8562 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005893/0.5905, allocations: 5.338 MB / 0.8614 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006143/0.5911, allocations: 29.42 kB / 0.8614 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.6e-05/0.5912, allocations: 24.48 kB / 0.8614 GB, free: 12.3 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.0004096/0.5916, allocations: 229.6 kB / 0.8617 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.5917, allocations: 59.61 kB / 0.8617 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/0.5934, allocations: 0.7675 MB / 0.8625 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.5934, allocations: 8.25 kB / 0.8625 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5934, allocations: 3.281 kB / 0.8625 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.5934, allocations: 3.984 kB / 0.8625 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002668/0.5961, allocations: 1.488 MB / 0.8639 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.5961, allocations: 5.219 kB / 0.8639 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003952/0.5965, allocations: 70.2 kB / 0.864 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000717/0.5972, allocations: 205.4 kB / 0.8642 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/0.5972, allocations: 12.67 kB / 0.8642 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005397/0.6026, allocations: 5.282 MB / 0.8694 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.6026, allocations: 7.438 kB / 0.8694 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.6047, allocations: 1.125 MB / 0.8705 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/0.605, allocations: 177.5 kB / 0.8706 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.42e-05/0.6051, allocations: 8.688 kB / 0.8706 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.6054, allocations: 27.91 kB / 0.8707 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.6055, allocations: 35.98 kB / 0.8707 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.6055, allocations: 13.75 kB / 0.8707 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004044/0.6059, allocations: 311.2 kB / 0.871 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.6059, allocations: 0 / 0.871 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008239/0.6068, allocations: 166.1 kB / 0.8712 GB, free: 4.395 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.002251/0.609, allocations: 1.698 MB / 0.8728 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001811/0.6108, allocations: 0.9574 MB / 0.8738 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.6108, allocations: 1.094 kB / 0.8738 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.6119, allocations: 0.6658 MB / 0.8744 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009278/0.6128, allocations: 178.2 kB / 0.8746 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008596/0.6214, allocations: 5.615 MB / 0.8801 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006528/0.6221, allocations: 0.9437 MB / 0.881 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004277/0.6225, allocations: 114.7 kB / 0.8811 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/0.6228, allocations: 208.5 kB / 0.8813 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of SimCode: time 9.92e-07/0.6228, allocations: 0 / 0.8813 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04655/0.6693, allocations: 14.28 MB / 0.8953 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.11, allocations: 19 kB / 0.8953 GB, free: 3.062 MB / 0.6231 GB " [Timeout remaining time 648] (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: 16.29766462300904] Failed to read output from testmodel.py, exit status != 0: 12.25848804000998 12.273087426 11.712351546 Calling exit ...