Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLine.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.001236/0.001236, allocations: 114.9 kB / 17.88 MB, free: 5.051 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.001428/0.001428, allocations: 212.5 kB / 20.84 MB, free: 2.105 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.501/1.501, allocations: 230.6 MB / 254.2 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.0399/0.0399, allocations: 6.134 MB / 316.4 MB, free: 1.168 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 48.94 kB / 439.9 MB, free: 40.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0807/0.08217, allocations: 54.98 MB / 494.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLine): time 0.001925/0.0841, allocations: 1.259 MB / 496.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.08517, allocations: 1.287 MB / 497.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.034e-05/0.08523, allocations: 4 kB / 497.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.08549, allocations: 107.5 kB / 497.6 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.08564, allocations: 55.62 kB / 497.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007772/0.08642, allocations: 0.5795 MB / 498.2 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.08658, allocations: 143.4 kB / 498.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.08669, allocations: 45.75 kB / 498.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.26e-05/0.08673, allocations: 59.78 kB / 498.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.886e-05/0.0868, allocations: 71.62 kB / 498.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.08682, allocations: 12 kB / 498.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.08702, allocations: 135.9 kB / 498.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.08704, allocations: 31.86 kB / 498.7 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.547e-05/0.08709, allocations: 71.66 kB / 498.8 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.08735, allocations: 251.1 kB / 499 MB, free: 6.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.08735, allocations: 0 / 499 MB, free: 6.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.08735, allocations: 4 kB / 499 MB, free: 6.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.08736, allocations: 0 / 499 MB, free: 6.395 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001138/0.08849, allocations: 0.5649 MB / 499.6 MB, free: 5.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.08853, allocations: 8.031 kB / 499.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.11e-05/0.08855, allocations: 8.125 kB / 499.6 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.889e-05/0.08858, allocations: 46.73 kB / 499.6 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.08862, allocations: 16.84 kB / 499.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.08875, allocations: 206.9 kB / 499.8 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.08877, allocations: 12.36 kB / 499.9 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.08879, allocations: 20.31 kB / 499.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.08901, allocations: 154 kB / 0.4883 GB, free: 5.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.08902, allocations: 4 kB / 0.4883 GB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.08903, allocations: 4 kB / 0.4883 GB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.08904, allocations: 7.984 kB / 0.4883 GB, free: 5.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.08919, allocations: 108 kB / 0.4884 GB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005946/0.08978, allocations: 0.5158 MB / 0.4889 GB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007917/0.09057, allocations: 150.4 kB / 0.4891 GB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.139e-05/0.09064, allocations: 40.84 kB / 0.4891 GB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.336e-05/0.09073, allocations: 81.11 kB / 0.4892 GB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.09075, allocations: 34.55 kB / 0.4892 GB, free: 4.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.09075, allocations: 0 / 0.4892 GB, free: 4.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001094/0.09184, allocations: 351.5 kB / 0.4896 GB, free: 3.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.725e-05/0.09186, allocations: 55.34 kB / 0.4896 GB, free: 3.801 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.849e-05/0.09193, allocations: 129.8 kB / 0.4897 GB, free: 3.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.09194, allocations: 30.08 kB / 0.4898 GB, free: 3.629 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.09198, allocations: 128.2 kB / 0.4899 GB, free: 3.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.092, allocations: 31.69 kB / 0.4899 GB, free: 3.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.09204, allocations: 29.7 kB / 0.4899 GB, free: 3.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.705e-05/0.09208, allocations: 326.8 kB / 0.4903 GB, free: 3.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.594e-05/0.09215, allocations: 36 kB / 0.4903 GB, free: 3.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.09e-05/0.09222, allocations: 61.69 kB / 0.4903 GB, free: 3.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.09235, allocations: 105.7 kB / 0.4904 GB, free: 2.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.09235, allocations: 0 / 0.4904 GB, free: 2.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004413/0.09279, allocations: 214.2 kB / 0.4907 GB, free: 2.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.09281, allocations: 4 kB / 0.4907 GB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.09281, allocations: 0 / 0.4907 GB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004035/0.09321, allocations: 76.77 kB / 0.4907 GB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.736e-05/0.09328, allocations: 19.92 kB / 0.4907 GB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.09455, allocations: 1.649 MB / 0.4924 GB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.619e-05/0.09463, allocations: 11.92 kB / 0.4924 GB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.09464, allocations: 8 kB / 0.4924 GB, free: 0.7578 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.617e-05/0.09471, allocations: 118.4 kB / 0.4925 GB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.09474, allocations: 12.02 kB / 0.4925 GB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004825/0.09522, allocations: 206.6 kB / 0.4927 GB, free: 424 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.09522, allocations: 0 / 0.4927 GB, free: 424 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.09523, allocations: 0 / 0.4927 GB, free: 424 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.09523, allocations: 0 / 0.4927 GB, free: 424 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.0954, allocations: 233.4 kB / 0.4929 GB, free: 140 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.0954, allocations: 4 kB / 0.4929 GB, free: 136 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.067e-05/0.09545, allocations: 15.98 kB / 0.4929 GB, free: 120 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003426/0.09579, allocations: 76.77 kB / 0.493 GB, free: 40 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.09581, allocations: 0 / 0.493 GB, free: 40 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/0.09756, allocations: 1.641 MB / 0.4946 GB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.09756, allocations: 0 / 0.4946 GB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005293/0.09809, allocations: 280.3 kB / 0.4949 GB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.09814, allocations: 85.06 kB / 0.495 GB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.09816, allocations: 8 kB / 0.495 GB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.09826, allocations: 3.938 kB / 0.495 GB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.09829, allocations: 11.98 kB / 0.495 GB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.0983, allocations: 4 kB / 0.495 GB, free: 13.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.899e-05/0.09837, allocations: 105.7 kB / 0.4951 GB, free: 13.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09837, allocations: 0 / 0.4951 GB, free: 13.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003238/0.0987, allocations: 47.95 kB / 0.4951 GB, free: 13.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0008956/0.09959, allocations: 0.8224 MB / 0.4959 GB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006837/0.1003, allocations: 250.5 kB / 0.4962 GB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1003, allocations: 0 / 0.4962 GB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004299/0.1007, allocations: 206.6 kB / 0.4964 GB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.1009, allocations: 7.938 kB / 0.4964 GB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.1034, allocations: 1.769 MB / 0.4981 GB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.1038, allocations: 0.7119 MB / 0.4988 GB, free: 9.758 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.34e-05/0.1038, allocations: 16.73 kB / 0.4988 GB, free: 9.742 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.1039, allocations: 39.42 kB / 0.4989 GB, free: 9.703 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1039, allocations: 0 / 0.4989 GB, free: 9.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.1267, allocations: 3.589 MB / 0.5024 GB, free: 6.199 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.7, allocations: 23.23 kB / 0.5024 GB, free: 6.18 MB / 366.1 MB " [Timeout remaining time 649] (rm -f PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneLine.fmu > PowerSysPro_PowerSysPro.Tests.OneLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.474729321023915] Failed to read output from testmodel.py, exit status != 0: 10.837609838985372 10.853464009 10.762936707 Calling exit ...