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.001199/0.001199, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001328/0.001328, allocations: 215.3 kB / 22.25 MB, free: 5.125 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.334/1.334, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 179] 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.002371/0.002371, allocations: 281.8 kB / 312.7 MB, free: 2.812 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.158/1.158, allocations: 180.6 MB / 0.5369 GB, free: 13.02 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.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: 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.002753/0.002753, allocations: 104.2 kB / 0.7396 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1618, allocations: 95.38 MB / 0.8327 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007339/0.1691, allocations: 5.683 MB / 0.8383 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004384/0.1735, allocations: 2.755 MB / 0.841 GB, free: 196 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002774/0.1738, allocations: 31.69 kB / 0.841 GB, free: 164 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.1756, allocations: 0.722 MB / 0.8417 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0008751/0.1765, allocations: 421.8 kB / 0.8421 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009361/0.1774, allocations: 387.1 kB / 0.8425 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001091/0.1785, allocations: 0.9555 MB / 0.8434 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000576/0.1791, allocations: 378.6 kB / 0.8438 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005548/0.1796, allocations: 382.6 kB / 0.8441 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005954/0.1802, allocations: 430.4 kB / 0.8445 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.706e-05/0.1803, allocations: 51.94 kB / 0.8446 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007169/0.181, allocations: 367.2 kB / 0.8449 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.1813, allocations: 263.2 kB / 0.8452 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003475/0.1816, allocations: 342.2 kB / 0.8455 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.1828, allocations: 0.9806 MB / 0.8465 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1828, allocations: 4 kB / 0.8465 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1828, allocations: 0 / 0.8465 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.1828, allocations: 0 / 0.8465 GB, free: 10.52 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.001587/0.1844, allocations: 0.9131 MB / 0.8474 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.1844, allocations: 13.34 kB / 0.8474 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001204/0.1845, allocations: 106.6 kB / 0.8475 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.1858, allocations: 196.3 kB / 0.8477 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008339/0.1867, allocations: 459.7 kB / 0.8481 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/0.1867, allocations: 33.38 kB / 0.8482 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.1869, allocations: 60.44 kB / 0.8482 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.188, allocations: 0.8278 MB / 0.849 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/0.188, allocations: 7.938 kB / 0.849 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.689e-05/0.1881, allocations: 24 kB / 0.849 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001815/0.1883, allocations: 60.95 kB / 0.8491 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008671/0.1891, allocations: 0.5775 MB / 0.8497 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004466/0.1936, allocations: 4.493 MB / 0.8541 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004698/0.1941, allocations: 279.2 kB / 0.8543 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.1944, allocations: 209.3 kB / 0.8545 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.1944, allocations: 4.281 kB / 0.8545 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.1944, allocations: 38.84 kB / 0.8546 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 4.788e-06/0.1944, allocations: 4 kB / 0.8546 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.005284/0.1997, allocations: 2.336 MB / 0.8568 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.1998, allocations: 55.41 kB / 0.8569 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00048/0.2002, allocations: 461.9 kB / 0.8573 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.2003, allocations: 29.7 kB / 0.8574 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/0.2005, allocations: 348.5 kB / 0.8577 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.2006, allocations: 154.7 kB / 0.8579 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.2008, allocations: 106.3 kB / 0.858 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.201, allocations: 358.8 kB / 0.8583 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003558/0.2013, allocations: 241.2 kB / 0.8585 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004816/0.2018, allocations: 407.3 kB / 0.8589 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000891/0.2027, allocations: 0.675 MB / 0.8596 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.2027, allocations: 4 kB / 0.8596 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001654/0.2044, allocations: 0.9175 MB / 0.8605 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.2044, allocations: 6.031 kB / 0.8605 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.2044, allocations: 8 kB / 0.8605 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007766/0.2052, allocations: 230.8 kB / 0.8607 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005048/0.2057, allocations: 119.7 kB / 0.8608 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005212/0.2109, allocations: 5.042 MB / 0.8657 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000433/0.2113, allocations: 31.92 kB / 0.8658 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.2114, allocations: 23.98 kB / 0.8658 GB, free: 5.621 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.000313/0.2117, allocations: 225.7 kB / 0.866 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.274e-05/0.2118, allocations: 59.61 kB / 0.8661 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.2133, allocations: 0.7618 MB / 0.8668 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.2133, allocations: 4 kB / 0.8668 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2133, allocations: 4 kB / 0.8668 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.2133, allocations: 3.984 kB / 0.8668 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/0.2158, allocations: 1.462 MB / 0.8683 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.2158, allocations: 4 kB / 0.8683 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/0.2162, allocations: 71.88 kB / 0.8683 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006587/0.2169, allocations: 202.8 kB / 0.8685 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.2169, allocations: 12 kB / 0.8685 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005017/0.2219, allocations: 4.972 MB / 0.8734 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2219, allocations: 0 / 0.8734 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.2237, allocations: 1.135 MB / 0.8745 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.2239, allocations: 95.52 kB / 0.8746 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-05/0.224, allocations: 8 kB / 0.8746 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003122/0.2243, allocations: 27.97 kB / 0.8746 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-05/0.2244, allocations: 39.86 kB / 0.8747 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.2244, allocations: 16 kB / 0.8747 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003415/0.2247, allocations: 310.9 kB / 0.875 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.2247, allocations: 0 / 0.875 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006427/0.2254, allocations: 168 kB / 0.8751 GB, free: 11.56 MB / 0.6231 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.002071/0.2275, allocations: 1.68 MB / 0.8768 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001579/0.229, allocations: 0.9656 MB / 0.8777 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.229, allocations: 4 kB / 0.8777 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009674/0.23, allocations: 0.6642 MB / 0.8784 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000837/0.2308, allocations: 185.3 kB / 0.8785 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008021/0.2389, allocations: 5.634 MB / 0.884 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006003/0.2395, allocations: 0.9454 MB / 0.885 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003292/0.2398, allocations: 109 kB / 0.8851 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/0.2401, allocations: 215.4 kB / 0.8853 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of SimCode: time 6.81e-07/0.2401, allocations: 0 / 0.8853 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05442/0.2945, allocations: 14.68 MB / 0.8996 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.32, allocations: 10.16 kB / 0.8996 GB, free: 2.324 MB / 0.6387 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.20139810605906] Failed to read output from testmodel.py, exit status != 0: 12.428218638990074 12.443398472 12.257588308 Calling exit ...