Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OnePerfectLine.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.0008629/0.0008629, allocations: 76.55 kB / 19.97 MB, free: 4.594 MB / 18.57 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.00101/0.00101, allocations: 173.9 kB / 23.25 MB, free: 1.312 MB / 18.57 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 0.9391/0.9391, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.02383/0.02383, allocations: 4.471 MB / 264.5 MB, free: 8.762 MB / 250.7 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.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 389.6 MB, free: 7.426 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.154e-05, allocations: 5.094 kB / 389.6 MB, free: 7.422 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.002557/0.002578, allocations: 1.206 MB / 390.8 MB, free: 6.219 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.004464, allocations: 1.232 MB / 392 MB, free: 4.973 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.254e-05/0.004556, allocations: 4 kB / 392 MB, free: 4.969 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004205/0.004977, allocations: 103.3 kB / 392.1 MB, free: 4.867 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.005251, allocations: 55.62 kB / 392.2 MB, free: 4.812 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.006272, allocations: 0.5444 MB / 392.7 MB, free: 4.266 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002564/0.006528, allocations: 131.4 kB / 392.9 MB, free: 4.137 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.006677, allocations: 49.53 kB / 392.9 MB, free: 4.086 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.006783, allocations: 79.86 kB / 393 MB, free: 4.008 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.755e-05/0.006881, allocations: 47.83 kB / 393 MB, free: 3.961 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.006908, allocations: 12 kB / 393 MB, free: 3.949 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000332/0.00724, allocations: 139.7 kB / 393.2 MB, free: 3.812 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.89e-05/0.007269, allocations: 27.91 kB / 393.2 MB, free: 3.785 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.005e-05/0.007319, allocations: 47.91 kB / 393.2 MB, free: 3.738 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003738/0.007693, allocations: 263.1 kB / 393.5 MB, free: 3.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.007695, allocations: 0 / 393.5 MB, free: 3.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.007696, allocations: 4 kB / 393.5 MB, free: 3.477 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.007701, allocations: 0 / 393.5 MB, free: 3.477 MB / 314.7 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.001132/0.008833, allocations: 497.3 kB / 394 MB, free: 2.957 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.008878, allocations: 8.031 kB / 394 MB, free: 2.949 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.669e-05/0.008934, allocations: 54.67 kB / 394.1 MB, free: 2.887 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.008982, allocations: 16.84 kB / 394.1 MB, free: 2.871 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.009191, allocations: 145.6 kB / 394.2 MB, free: 2.703 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.009207, allocations: 8.375 kB / 394.2 MB, free: 2.695 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.00923, allocations: 12.38 kB / 394.2 MB, free: 2.684 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.009515, allocations: 183.8 kB / 394.4 MB, free: 2.492 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.009524, allocations: 192 / 394.4 MB, free: 2.492 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.009542, allocations: 8.375 kB / 394.4 MB, free: 2.484 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.009548, allocations: 4.125 kB / 394.4 MB, free: 2.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.009738, allocations: 112 kB / 394.5 MB, free: 2.371 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007715/0.01051, allocations: 459.4 kB / 395 MB, free: 1.879 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006274/0.01114, allocations: 138.5 kB / 395.1 MB, free: 1.734 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.136e-05/0.01122, allocations: 40.86 kB / 395.2 MB, free: 1.691 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.655e-05/0.01131, allocations: 11.92 kB / 395.2 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.01134, allocations: 30.56 kB / 395.2 MB, free: 1.641 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.754e-06/0.01134, allocations: 7.938 kB / 395.2 MB, free: 1.633 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009656/0.01231, allocations: 278.3 kB / 395.5 MB, free: 1.352 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.01234, allocations: 51.41 kB / 395.5 MB, free: 1.289 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.01244, allocations: 136.7 kB / 395.7 MB, free: 1.148 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.01246, allocations: 29.7 kB / 395.7 MB, free: 1.113 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.218e-05/0.01253, allocations: 124.3 kB / 395.8 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.01255, allocations: 31.7 kB / 395.8 MB, free: 0.957 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.697e-05/0.01261, allocations: 29.7 kB / 395.9 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.387e-05/0.0127, allocations: 326.8 kB / 396.2 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.008e-05/0.01278, allocations: 40 kB / 396.2 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.341e-05/0.01288, allocations: 61.69 kB / 396.3 MB, free: 500 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.01306, allocations: 101.7 kB / 396.4 MB, free: 392 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.01306, allocations: 0 / 396.4 MB, free: 392 kB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003153/0.01337, allocations: 210.2 kB / 396.6 MB, free: 172 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.01339, allocations: 4 kB / 396.6 MB, free: 168 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.01339, allocations: 0 / 396.6 MB, free: 168 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002498/0.01364, allocations: 80.8 kB / 396.7 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.381e-05/0.01368, allocations: 19.92 kB / 396.7 MB, free: 64 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.01473, allocations: 1.533 MB / 398.2 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.747e-05/0.01477, allocations: 15.86 kB / 398.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.01477, allocations: 4 kB / 398.3 MB, free: 14.39 MB / 330.7 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 7.138e-05/0.01485, allocations: 129.8 kB / 398.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.01487, allocations: 7.953 kB / 398.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/0.01516, allocations: 202.8 kB / 398.6 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.01516, allocations: 0 / 398.6 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.01516, allocations: 3.938 kB / 398.6 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.01517, allocations: 3.984 kB / 398.6 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.0153, allocations: 184.5 kB / 398.8 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01531, allocations: 4 kB / 398.8 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.402e-05/0.01533, allocations: 11.98 kB / 398.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001808/0.01551, allocations: 80.91 kB / 398.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.01552, allocations: 4.375 kB / 398.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.01656, allocations: 1.518 MB / 400.4 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.01656, allocations: 3.938 kB / 400.4 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.01684, allocations: 272.1 kB / 400.7 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-06/0.01685, allocations: 15.83 kB / 400.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.806e-06/0.01686, allocations: 4 kB / 400.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.052e-05/0.01691, allocations: 64 / 400.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.196e-05/0.01693, allocations: 15.98 kB / 400.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.01694, allocations: 11.92 kB / 400.7 MB, free: 11.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.763e-05/0.01698, allocations: 99.2 kB / 400.8 MB, free: 11.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01698, allocations: 0 / 400.8 MB, free: 11.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002068/0.01718, allocations: 51.89 kB / 400.9 MB, free: 11.59 MB / 330.7 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.0005821/0.01776, allocations: 0.8217 MB / 401.7 MB, free: 10.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004177/0.01818, allocations: 250.5 kB / 401.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01818, allocations: 0 / 401.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.01837, allocations: 202.5 kB / 402.1 MB, free: 10.28 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.01853, allocations: 11.94 kB / 402.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.01993, allocations: 1.756 MB / 403.9 MB, free: 8.414 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.113e-05/0.02, allocations: 106.8 kB / 404 MB, free: 8.285 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.735e-05/0.02003, allocations: 8.719 kB / 404 MB, free: 8.277 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.02007, allocations: 44.48 kB / 404 MB, free: 8.234 MB / 330.7 MB Notification: Performance of SimCode: time 3.9e-07/0.02007, allocations: 0 / 404 MB, free: 8.234 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/0.03836, allocations: 4.313 MB / 408.4 MB, free: 4.047 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.882/6.92, allocations: 7.375 kB / 408.4 MB, free: 4.043 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OnePerfectLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OnePerfectLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OnePerfectLine.fmu > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.806002013385296] Failed to read output from testmodel.py, exit status != 0: 7.005001017823815 7.154313186 7.144965233 Calling exit ...