Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.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.001802/0.001802, 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.002422/0.002422, 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 8.078 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.05529/0.05529, allocations: 6.133 MB / 319.4 MB, free: 13.1 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.Examples.TwoSourcesOneLineThreeSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 39.94 kB / 444.5 MB, free: 5.555 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.107, allocations: 55.02 MB / 499.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.003206/0.1102, allocations: 1.741 MB / 0.4895 GB, free: 12.69 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002267/0.1125, allocations: 1.532 MB / 0.491 GB, free: 11.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.824e-05/0.1126, allocations: 4 kB / 0.491 GB, free: 11.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003599/0.1129, allocations: 131.3 kB / 0.4911 GB, free: 11.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002505/0.1132, allocations: 87.39 kB / 0.4912 GB, free: 10.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.1149, allocations: 0.928 MB / 0.4921 GB, free: 9.996 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003646/0.1153, allocations: 226.9 kB / 0.4923 GB, free: 9.773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.1155, allocations: 88.5 kB / 0.4924 GB, free: 9.684 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.1156, allocations: 95.7 kB / 0.4925 GB, free: 9.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.1158, allocations: 127.5 kB / 0.4926 GB, free: 9.465 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.376e-05/0.1158, allocations: 20 kB / 0.4927 GB, free: 9.445 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004102/0.1162, allocations: 223.8 kB / 0.4929 GB, free: 9.227 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.626e-05/0.1163, allocations: 51.78 kB / 0.4929 GB, free: 9.176 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.1164, allocations: 115.5 kB / 0.493 GB, free: 9.062 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005762/0.117, allocations: 410.5 kB / 0.4934 GB, free: 8.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.117, allocations: 0 / 0.4934 GB, free: 8.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.117, allocations: 0 / 0.4934 GB, free: 8.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.117, allocations: 0 / 0.4934 GB, free: 8.66 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002127/0.1191, allocations: 0.7002 MB / 0.4941 GB, free: 7.926 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1192, allocations: 8.031 kB / 0.4941 GB, free: 7.918 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.57e-05/0.1192, allocations: 58.73 kB / 0.4942 GB, free: 7.852 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.706e-05/0.1193, allocations: 28.73 kB / 0.4942 GB, free: 7.824 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.1196, allocations: 182.2 kB / 0.4944 GB, free: 7.621 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.1196, allocations: 20.88 kB / 0.4944 GB, free: 7.602 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.1196, allocations: 24.38 kB / 0.4944 GB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000521/0.1201, allocations: 300.6 kB / 0.4947 GB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.1202, allocations: 3.938 kB / 0.4947 GB, free: 7.277 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.1202, allocations: 12 kB / 0.4947 GB, free: 7.266 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.1202, allocations: 11.98 kB / 0.4947 GB, free: 7.254 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004733/0.1207, allocations: 301.8 kB / 0.495 GB, free: 6.953 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.1223, allocations: 0.845 MB / 0.4958 GB, free: 6.066 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005546/0.1228, allocations: 258.4 kB / 0.4961 GB, free: 5.805 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.123, allocations: 124.6 kB / 0.4962 GB, free: 5.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.1232, allocations: 11.98 kB / 0.4962 GB, free: 5.668 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.1232, allocations: 34.56 kB / 0.4963 GB, free: 5.625 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.523e-06/0.1232, allocations: 0 / 0.4963 GB, free: 5.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001268/0.1245, allocations: 442.6 kB / 0.4967 GB, free: 5.184 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.1245, allocations: 59.41 kB / 0.4967 GB, free: 5.113 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.1247, allocations: 172.2 kB / 0.4969 GB, free: 4.938 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.1247, allocations: 29.7 kB / 0.4969 GB, free: 4.902 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.1249, allocations: 144.6 kB / 0.4971 GB, free: 4.758 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.244e-05/0.125, allocations: 91.22 kB / 0.4972 GB, free: 4.668 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.1251, allocations: 65.64 kB / 0.4972 GB, free: 4.598 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.1252, allocations: 322.8 kB / 0.4975 GB, free: 4.273 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.1255, allocations: 124 kB / 0.4976 GB, free: 4.152 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.1257, allocations: 136.8 kB / 0.4978 GB, free: 4.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004224/0.1261, allocations: 277.2 kB / 0.498 GB, free: 3.746 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.1261, allocations: 0 / 0.498 GB, free: 3.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007267/0.1268, allocations: 398.1 kB / 0.4984 GB, free: 3.348 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1268, allocations: 4 kB / 0.4984 GB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1268, allocations: 0 / 0.4984 GB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002882/0.1271, allocations: 56.75 kB / 0.4985 GB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.1274, allocations: 59.97 kB / 0.4985 GB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.1292, allocations: 1.455 MB / 0.5 GB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.1294, allocations: 23.81 kB / 0.5 GB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.1294, allocations: 12 kB / 0.5 GB, free: 1.617 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (35): * Single equations (assignments): 34 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001575/0.1296, allocations: 137.9 kB / 0.5001 GB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.1296, allocations: 15.91 kB / 0.5001 GB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000758/0.1304, allocations: 339.5 kB / 0.5005 GB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1304, allocations: 0 / 0.5005 GB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1304, allocations: 4 kB / 0.5005 GB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1304, allocations: 4 kB / 0.5005 GB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.1315, allocations: 0.7221 MB / 0.5012 GB, free: 340 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1315, allocations: 0 / 0.5012 GB, free: 340 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.1317, allocations: 39.92 kB / 0.5012 GB, free: 300 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002294/0.1319, allocations: 56.81 kB / 0.5013 GB, free: 240 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.1319, allocations: 11.94 kB / 0.5013 GB, free: 228 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/0.1334, allocations: 1.436 MB / 0.5027 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1334, allocations: 0 / 0.5027 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005985/0.134, allocations: 397.3 kB / 0.5031 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.134, allocations: 31.77 kB / 0.5031 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.134, allocations: 0 / 0.5031 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.1342, allocations: 8 kB / 0.5031 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.1342, allocations: 19.91 kB / 0.5031 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.1342, allocations: 4 kB / 0.5031 GB, free: 14.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.1344, allocations: 134.9 kB / 0.5032 GB, free: 14.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1344, allocations: 7.938 kB / 0.5033 GB, free: 14.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003966/0.1348, allocations: 79.89 kB / 0.5033 GB, free: 13.99 MB / 382.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 (25): * Single equations (assignments): 24 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001033/0.1358, allocations: 0.9356 MB / 0.5042 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008063/0.1366, allocations: 394.2 kB / 0.5046 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1366, allocations: 4 kB / 0.5046 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004451/0.1371, allocations: 242.9 kB / 0.5049 GB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.1373, allocations: 16 kB / 0.5049 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003838/0.1411, allocations: 2.496 MB / 0.5073 GB, free: 9.773 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/0.1416, allocations: 0.7398 MB / 0.508 GB, free: 9.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.1417, allocations: 29.61 kB / 0.5081 GB, free: 8.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.1419, allocations: 67.41 kB / 0.5081 GB, free: 8.914 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1419, allocations: 0 / 0.5081 GB, free: 8.914 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03626/0.1781, allocations: 5.164 MB / 0.5132 GB, free: 3.883 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.63, allocations: 14.33 kB / 0.5132 GB, free: 3.871 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors_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_Examples_TwoSourcesOneLineThreeSensors.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.607348509998701] Failed to read output from testmodel.py, exit status != 0: 11.739386051005567 11.935663714 11.815861406 Calling exit ...