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.001678/0.001678, allocations: 118 kB / 19.74 MB, free: 2.152 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.001698/0.001698, allocations: 221.3 kB / 23.05 MB, free: 5 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.03597/0.03597, allocations: 6.137 MB / 319.4 MB, free: 13.04 MB / 254.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 47.92 kB / 444.5 MB, free: 5.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1178, allocations: 55.03 MB / 499.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLine): time 0.00266/0.1205, allocations: 1.285 MB / 0.4891 GB, free: 13.06 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.1223, allocations: 1.275 MB / 0.4903 GB, free: 11.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.1224, allocations: 4 kB / 0.4903 GB, free: 11.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003657/0.1228, allocations: 107.5 kB / 0.4904 GB, free: 11.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.1229, allocations: 55.62 kB / 0.4905 GB, free: 11.61 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.1242, allocations: 0.5912 MB / 0.491 GB, free: 11.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.1245, allocations: 131.4 kB / 0.4912 GB, free: 10.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.1247, allocations: 53.64 kB / 0.4912 GB, free: 10.83 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.073e-05/0.1248, allocations: 55.8 kB / 0.4913 GB, free: 10.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.1249, allocations: 63.7 kB / 0.4913 GB, free: 10.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.1249, allocations: 12 kB / 0.4913 GB, free: 10.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003518/0.1253, allocations: 147.8 kB / 0.4915 GB, free: 10.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.42e-05/0.1253, allocations: 27.92 kB / 0.4915 GB, free: 10.53 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.1254, allocations: 71.67 kB / 0.4916 GB, free: 10.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004616/0.1259, allocations: 259.1 kB / 0.4918 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.1259, allocations: 0 / 0.4918 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1259, allocations: 0 / 0.4918 GB, free: 10.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.1259, allocations: 0 / 0.4918 GB, free: 10.2 MB / 366.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.001463/0.1274, allocations: 493.3 kB / 0.4923 GB, free: 9.688 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/0.1274, allocations: 12.03 kB / 0.4923 GB, free: 9.676 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.084e-05/0.1275, allocations: 46.73 kB / 0.4924 GB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.1275, allocations: 12.84 kB / 0.4924 GB, free: 9.609 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.1278, allocations: 154.3 kB / 0.4925 GB, free: 9.434 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.1278, allocations: 8.375 kB / 0.4925 GB, free: 9.426 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.1278, allocations: 12.38 kB / 0.4925 GB, free: 9.414 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.1282, allocations: 158.2 kB / 0.4927 GB, free: 9.254 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1282, allocations: 3.938 kB / 0.4927 GB, free: 9.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.1282, allocations: 8 kB / 0.4927 GB, free: 9.242 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1282, allocations: 0 / 0.4927 GB, free: 9.242 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/0.1284, allocations: 120 kB / 0.4928 GB, free: 9.125 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008871/0.1293, allocations: 491.3 kB / 0.4933 GB, free: 8.602 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008721/0.1302, allocations: 150.5 kB / 0.4934 GB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.81e-05/0.1303, allocations: 40.78 kB / 0.4935 GB, free: 8.402 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.1304, allocations: 11.98 kB / 0.4935 GB, free: 8.391 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1304, allocations: 34.69 kB / 0.4935 GB, free: 8.348 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.1304, allocations: 0 / 0.4935 GB, free: 8.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001211/0.1316, allocations: 278.2 kB / 0.4938 GB, free: 8.066 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.1317, allocations: 55.34 kB / 0.4938 GB, free: 8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.1318, allocations: 129.8 kB / 0.4939 GB, free: 7.863 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.1318, allocations: 29.7 kB / 0.494 GB, free: 7.828 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.1319, allocations: 132.2 kB / 0.4941 GB, free: 7.695 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.132, allocations: 27.75 kB / 0.4941 GB, free: 7.668 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.349e-05/0.132, allocations: 29.7 kB / 0.4942 GB, free: 7.633 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.1322, allocations: 322.8 kB / 0.4945 GB, free: 7.309 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.27e-05/0.1323, allocations: 36 kB / 0.4945 GB, free: 7.273 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.1324, allocations: 63.75 kB / 0.4946 GB, free: 7.207 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.1326, allocations: 105.7 kB / 0.4947 GB, free: 7.098 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1326, allocations: 0 / 0.4947 GB, free: 7.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005695/0.1332, allocations: 210.2 kB / 0.4949 GB, free: 6.883 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.1332, allocations: 4 kB / 0.4949 GB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1332, allocations: 0 / 0.4949 GB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004722/0.1337, allocations: 80.7 kB / 0.4949 GB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.193e-05/0.1338, allocations: 15.98 kB / 0.495 GB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/0.1358, allocations: 1.557 MB / 0.4965 GB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.443e-05/0.1359, allocations: 7.953 kB / 0.4965 GB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.1359, allocations: 4 kB / 0.4965 GB, free: 5.094 MB / 366.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 0.0001515/0.1361, allocations: 125.9 kB / 0.4966 GB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.1361, allocations: 3.953 kB / 0.4966 GB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005621/0.1367, allocations: 214.7 kB / 0.4968 GB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1367, allocations: 0 / 0.4968 GB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.1367, allocations: 4 kB / 0.4968 GB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1367, allocations: 0 / 0.4968 GB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.137, allocations: 196.6 kB / 0.497 GB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.137, allocations: 4 kB / 0.497 GB, free: 4.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.404e-05/0.1371, allocations: 15.92 kB / 0.497 GB, free: 4.484 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003575/0.1374, allocations: 76.77 kB / 0.4971 GB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1374, allocations: 4 kB / 0.4971 GB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/0.1392, allocations: 1.537 MB / 0.4986 GB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1392, allocations: 4.031 kB / 0.4986 GB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005233/0.1398, allocations: 276.1 kB / 0.4989 GB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.1398, allocations: 15.95 kB / 0.4989 GB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.1398, allocations: 8.516 kB / 0.4989 GB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1399, allocations: 0 / 0.4989 GB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.1399, allocations: 11.97 kB / 0.4989 GB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.14, allocations: 4 kB / 0.4989 GB, free: 2.414 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.813e-05/0.14, allocations: 102.3 kB / 0.499 GB, free: 2.316 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.14, allocations: 0 / 0.499 GB, free: 2.316 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003433/0.1404, allocations: 55.83 kB / 0.4991 GB, free: 2.262 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.0009775/0.1414, allocations: 0.8263 MB / 0.4999 GB, free: 1.406 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007147/0.1421, allocations: 242.5 kB / 0.5001 GB, free: 1.156 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.1421, allocations: 4.062 kB / 0.5001 GB, free: 1.152 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.1425, allocations: 198.6 kB / 0.5003 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.1427, allocations: 4.875 kB / 0.5003 GB, free: 0.9414 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/0.1453, allocations: 1.778 MB / 0.502 GB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.1457, allocations: 0.708 MB / 0.5027 GB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.595e-05/0.1458, allocations: 12.66 kB / 0.5027 GB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.056e-05/0.1458, allocations: 35.42 kB / 0.5028 GB, free: 14.29 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1458, allocations: 0 / 0.5028 GB, free: 14.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03349/0.1793, allocations: 3.714 MB / 0.5064 GB, free: 10.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.55, allocations: 5.703 kB / 0.5064 GB, free: 10.7 MB / 382.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneLine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Tests_OneLine.fmu > PowerSysPro_PowerSysPro.Tests.OneLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.382972121005878] Failed to read output from testmodel.py, exit status != 0: 11.655313996001496 11.854564513 11.725595937 Calling exit ...