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.001413/0.001413, allocations: 120.9 kB / 17.88 MB, free: 5.027 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.001415/0.001415, allocations: 209.6 kB / 20.84 MB, free: 2.082 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.487/1.487, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.03714/0.03714, allocations: 6.137 MB / 316.4 MB, free: 1.098 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.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 44.33 kB / 439.9 MB, free: 40.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08397/0.08548, allocations: 54.98 MB / 494.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.002324/0.0878, allocations: 1.266 MB / 496.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.08892, allocations: 1.291 MB / 497.5 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.109e-05/0.08899, allocations: 0 / 497.5 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.08927, allocations: 107.5 kB / 497.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001624/0.08943, allocations: 55.62 kB / 497.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007933/0.09022, allocations: 0.5836 MB / 498.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.09039, allocations: 135.4 kB / 498.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.09052, allocations: 49.75 kB / 498.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.684e-05/0.09056, allocations: 55.78 kB / 498.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.755e-05/0.09064, allocations: 67.69 kB / 498.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.09066, allocations: 12 kB / 498.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.09087, allocations: 139.9 kB / 498.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.09089, allocations: 27.92 kB / 498.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.922e-05/0.09093, allocations: 75.53 kB / 498.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.09123, allocations: 255.1 kB / 499 MB, free: 6.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.09123, allocations: 4 kB / 499 MB, free: 6.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.09123, allocations: 0 / 499 MB, free: 6.355 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.09125, allocations: 0 / 499 MB, free: 6.355 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.001238/0.09248, allocations: 0.561 MB / 499.6 MB, free: 5.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.09252, allocations: 8.031 kB / 499.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.497e-05/0.09254, allocations: 8.188 kB / 499.6 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.933e-05/0.09257, allocations: 42.69 kB / 499.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.09261, allocations: 16.84 kB / 499.6 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.09276, allocations: 204.2 kB / 499.8 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.09278, allocations: 8.375 kB / 499.9 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.09281, allocations: 20.34 kB / 499.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.09306, allocations: 165.9 kB / 0.4883 GB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.09307, allocations: 0 / 0.4883 GB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.09309, allocations: 4 kB / 0.4883 GB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.0931, allocations: 4 kB / 0.4883 GB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.09326, allocations: 116 kB / 0.4884 GB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006368/0.09389, allocations: 0.5119 MB / 0.4889 GB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008137/0.09471, allocations: 146.5 kB / 0.4891 GB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.737e-05/0.09477, allocations: 40.78 kB / 0.4891 GB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.09491, allocations: 81.11 kB / 0.4892 GB, free: 4.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.09493, allocations: 34.56 kB / 0.4892 GB, free: 4.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.09493, allocations: 0 / 0.4892 GB, free: 4.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.00115/0.09608, allocations: 355.5 kB / 0.4896 GB, free: 3.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.09611, allocations: 59.34 kB / 0.4896 GB, free: 3.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.732e-05/0.0962, allocations: 124.6 kB / 0.4897 GB, free: 3.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.09622, allocations: 33.7 kB / 0.4898 GB, free: 3.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.844e-05/0.09626, allocations: 124.2 kB / 0.4899 GB, free: 3.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.09629, allocations: 35.67 kB / 0.4899 GB, free: 3.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-05/0.09634, allocations: 33.7 kB / 0.49 GB, free: 3.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.487e-05/0.09639, allocations: 315.2 kB / 0.4903 GB, free: 3.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.768e-05/0.09646, allocations: 43.98 kB / 0.4903 GB, free: 3.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.893e-05/0.09654, allocations: 61.44 kB / 0.4904 GB, free: 2.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.09668, allocations: 101.7 kB / 0.4905 GB, free: 2.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.09668, allocations: 3.938 kB / 0.4905 GB, free: 2.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004495/0.09713, allocations: 218.2 kB / 0.4907 GB, free: 2.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.09715, allocations: 6.188 kB / 0.4907 GB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.09716, allocations: 4 kB / 0.4907 GB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004456/0.0976, allocations: 76.77 kB / 0.4907 GB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.117e-05/0.09767, allocations: 19.94 kB / 0.4908 GB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.099, allocations: 1.637 MB / 0.4924 GB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.673e-05/0.09908, allocations: 15.92 kB / 0.4924 GB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.09909, allocations: 7.938 kB / 0.4924 GB, free: 0.7266 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 7.529e-05/0.09916, allocations: 121.9 kB / 0.4925 GB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.0992, allocations: 7.953 kB / 0.4925 GB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000507/0.0997, allocations: 206.7 kB / 0.4927 GB, free: 392 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.09971, allocations: 4 kB / 0.4927 GB, free: 388 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.09971, allocations: 0 / 0.4927 GB, free: 388 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.09971, allocations: 0 / 0.4927 GB, free: 388 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.09987, allocations: 237.4 kB / 0.4929 GB, free: 100 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.09987, allocations: 0 / 0.4929 GB, free: 100 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/0.09991, allocations: 15.98 kB / 0.493 GB, free: 84 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003277/0.1002, allocations: 72.78 kB / 0.493 GB, free: 8 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.415e-05/0.1003, allocations: 12.05 kB / 0.493 GB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/0.1023, allocations: 1.633 MB / 0.4946 GB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1023, allocations: 0 / 0.4946 GB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005695/0.1028, allocations: 280.2 kB / 0.4949 GB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.213e-05/0.1029, allocations: 81.06 kB / 0.495 GB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.1029, allocations: 4 kB / 0.495 GB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.103, allocations: 7.938 kB / 0.495 GB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.1031, allocations: 11.92 kB / 0.495 GB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.1031, allocations: 4 kB / 0.495 GB, free: 13.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.837e-05/0.1031, allocations: 107.1 kB / 0.4951 GB, free: 13.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1031, allocations: 0 / 0.4951 GB, free: 13.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003447/0.1035, allocations: 43.95 kB / 0.4951 GB, free: 13.65 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.0009621/0.1044, allocations: 0.8302 MB / 0.496 GB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007122/0.1052, allocations: 254.5 kB / 0.4962 GB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1052, allocations: 4.062 kB / 0.4962 GB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004279/0.1056, allocations: 190.6 kB / 0.4964 GB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.1058, allocations: 8 kB / 0.4964 GB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/0.1084, allocations: 1.775 MB / 0.4981 GB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.1088, allocations: 0.7119 MB / 0.4988 GB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.172e-05/0.1088, allocations: 12.75 kB / 0.4988 GB, free: 9.707 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.931e-05/0.1089, allocations: 43.42 kB / 0.4989 GB, free: 9.664 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1089, allocations: 0 / 0.4989 GB, free: 9.664 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.1321, allocations: 3.605 MB / 0.5024 GB, free: 6.156 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.62, allocations: 16.83 kB / 0.5024 GB, free: 6.141 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.325670048012398] Failed to read output from testmodel.py, exit status != 0: 10.754466768004932 10.770894698 10.676558034 Calling exit ...