Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.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.001314/0.001314, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.001623/0.001623, allocations: 223.7 kB / 23.03 MB, free: 4.621 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.03738/0.03738, allocations: 6.134 MB / 319.3 MB, free: 12.84 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.ExampleWithFMUs.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 47.92 kB / 444.4 MB, free: 5.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09797/0.1001, allocations: 55.02 MB / 499.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.003764/0.1039, allocations: 2.152 MB / 0.4899 GB, free: 11.87 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.1063, allocations: 1.473 MB / 0.4913 GB, free: 10.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003037/0.1066, allocations: 8 kB / 0.4913 GB, free: 10.37 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005437/0.1071, allocations: 167 kB / 0.4915 GB, free: 10.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006145/0.1077, allocations: 174.8 kB / 0.4916 GB, free: 10.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.1097, allocations: 0.8683 MB / 0.4925 GB, free: 9.168 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005743/0.1102, allocations: 414.1 kB / 0.4929 GB, free: 8.762 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.1105, allocations: 96.62 kB / 0.493 GB, free: 8.664 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.1107, allocations: 179.3 kB / 0.4931 GB, free: 8.488 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.1109, allocations: 191.1 kB / 0.4933 GB, free: 8.301 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.808e-05/0.111, allocations: 32 kB / 0.4933 GB, free: 8.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003567/0.1114, allocations: 195.8 kB / 0.4935 GB, free: 8.078 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.768e-05/0.1114, allocations: 83.69 kB / 0.4936 GB, free: 7.996 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.1116, allocations: 175.1 kB / 0.4938 GB, free: 7.824 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006325/0.1122, allocations: 0.5293 MB / 0.4943 GB, free: 7.293 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1122, allocations: 0 / 0.4943 GB, free: 7.293 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1122, allocations: 0 / 0.4943 GB, free: 7.293 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1122, allocations: 0 / 0.4943 GB, free: 7.293 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.003642/0.1159, allocations: 1.074 MB / 0.4953 GB, free: 6.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1159, allocations: 8.031 kB / 0.4953 GB, free: 6.172 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.116, allocations: 67.38 kB / 0.4954 GB, free: 6.098 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.378e-05/0.1161, allocations: 44.66 kB / 0.4955 GB, free: 6.055 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004573/0.1166, allocations: 281.2 kB / 0.4957 GB, free: 5.758 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.1166, allocations: 21.03 kB / 0.4957 GB, free: 5.738 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/0.1167, allocations: 36.38 kB / 0.4958 GB, free: 5.703 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008067/0.1175, allocations: 0.6463 MB / 0.4964 GB, free: 5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1175, allocations: 3.938 kB / 0.4964 GB, free: 4.996 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.765e-05/0.1175, allocations: 12 kB / 0.4964 GB, free: 4.984 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.1175, allocations: 8 kB / 0.4964 GB, free: 4.977 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006296/0.1182, allocations: 410.5 kB / 0.4968 GB, free: 4.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.1201, allocations: 1.018 MB / 0.4978 GB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.1212, allocations: 451.1 kB / 0.4982 GB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003468/0.1215, allocations: 212.8 kB / 0.4985 GB, free: 2.848 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.367e-05/0.1216, allocations: 11.98 kB / 0.4985 GB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.1216, allocations: 42.5 kB / 0.4985 GB, free: 2.785 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 1.774e-06/0.1216, allocations: 0 / 0.4985 GB, free: 2.785 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.004456/0.1261, allocations: 1.265 MB / 0.4997 GB, free: 1.504 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.1261, allocations: 59.39 kB / 0.4998 GB, free: 1.434 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003355/0.1264, allocations: 261.7 kB / 0.5 GB, free: 1.168 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/0.1265, allocations: 37.7 kB / 0.5001 GB, free: 1.125 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.1266, allocations: 169 kB / 0.5002 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.1268, allocations: 154.6 kB / 0.5004 GB, free: 0.8008 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.1269, allocations: 82.19 kB / 0.5005 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1271, allocations: 346.7 kB / 0.5008 GB, free: 376 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/0.1274, allocations: 216.9 kB / 0.501 GB, free: 160 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/0.1278, allocations: 228.4 kB / 0.5012 GB, free: 15.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008148/0.1286, allocations: 494.3 kB / 0.5017 GB, free: 15.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1286, allocations: 0 / 0.5017 GB, free: 15.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00225/0.1309, allocations: 0.8858 MB / 0.5026 GB, free: 14.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1309, allocations: 4 kB / 0.5026 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.1309, allocations: 0 / 0.5026 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001826/0.1327, allocations: 394.1 kB / 0.5029 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.133, allocations: 71.89 kB / 0.503 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007237/0.1402, allocations: 5.527 MB / 0.5084 GB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003774/0.1406, allocations: 43.66 kB / 0.5084 GB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.1406, allocations: 16 kB / 0.5085 GB, free: 8.16 MB / 382.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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002301/0.1409, allocations: 161.8 kB / 0.5086 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.119e-05/0.141, allocations: 39.7 kB / 0.5087 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/0.1434, allocations: 0.896 MB / 0.5095 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.1434, allocations: 4 kB / 0.5095 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.1434, allocations: 0 / 0.5095 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.1434, allocations: 7.984 kB / 0.5095 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005899/0.144, allocations: 424.7 kB / 0.5099 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.144, allocations: 0 / 0.5099 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.1442, allocations: 63.84 kB / 0.51 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001736/0.1459, allocations: 390.1 kB / 0.5104 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-05/0.146, allocations: 12 kB / 0.5104 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007103/0.1531, allocations: 5.49 MB / 0.5158 GB, free: 280 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1531, allocations: 0 / 0.5158 GB, free: 280 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1998/0.3529, allocations: 0.9187 MB / 0.5166 GB, free: 29.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.911e-05/0.353, allocations: 44.19 kB / 0.5167 GB, free: 29.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.973e-05/0.353, allocations: 10.59 kB / 0.5167 GB, free: 29.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/0.3533, allocations: 27.02 kB / 0.5167 GB, free: 29.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.3535, allocations: 43.19 kB / 0.5168 GB, free: 29.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.3535, allocations: 18.56 kB / 0.5168 GB, free: 29.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000185/0.3537, allocations: 184 kB / 0.517 GB, free: 29.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3537, allocations: 0 / 0.517 GB, free: 29.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005709/0.3543, allocations: 163.4 kB / 0.5171 GB, free: 29.36 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002665/0.3569, allocations: 1.803 MB / 0.5189 GB, free: 28.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001704/0.3586, allocations: 0.9666 MB / 0.5198 GB, free: 28.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3586, allocations: 0 / 0.5198 GB, free: 28.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.3598, allocations: 0.7099 MB / 0.5205 GB, free: 27.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.3602, allocations: 41.44 kB / 0.5206 GB, free: 27.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007186/0.3674, allocations: 4.368 MB / 0.5248 GB, free: 26.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.3676, allocations: 195 kB / 0.525 GB, free: 26.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001948/0.3678, allocations: 49.41 kB / 0.5251 GB, free: 26.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.368, allocations: 116.6 kB / 0.5252 GB, free: 26.39 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.368, allocations: 0 / 0.5252 GB, free: 26.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05394/0.4219, allocations: 13.69 MB / 0.5385 GB, free: 22.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/13.78, allocations: 12.75 kB / 0.5385 GB, free: 22.24 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork_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_ExampleWithFMUs_LVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.51456223614514] Failed to read output from testmodel.py, exit status != 0: 13.906664736103266 13.924552045 13.808052009 Calling exit ...