Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.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.001363/0.001363, allocations: 93.91 kB / 20.52 MB, free: 1.328 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.001525/0.001525, allocations: 216 kB / 23.82 MB, free: 4.48 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.494/1.494, allocations: 230.6 MB / 257.6 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.04269/0.04269, allocations: 6.135 MB / 320.1 MB, free: 12.76 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.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 43.94 kB / 445.2 MB, free: 5.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1043, allocations: 55.02 MB / 0.4885 GB, free: 13.97 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.003216/0.1075, allocations: 1.862 MB / 0.4903 GB, free: 12.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.1097, allocations: 1.516 MB / 0.4918 GB, free: 10.58 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1098, allocations: 4 kB / 0.4918 GB, free: 10.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003958/0.1102, allocations: 135.3 kB / 0.4919 GB, free: 10.44 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004147/0.1106, allocations: 163 kB / 0.4921 GB, free: 10.28 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.1125, allocations: 0.9669 MB / 0.493 GB, free: 9.312 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004308/0.1129, allocations: 310.5 kB / 0.4933 GB, free: 9.008 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.1132, allocations: 84.69 kB / 0.4934 GB, free: 8.922 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.1133, allocations: 127.5 kB / 0.4935 GB, free: 8.797 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.1135, allocations: 147.3 kB / 0.4937 GB, free: 8.652 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.1135, allocations: 28 kB / 0.4937 GB, free: 8.625 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004649/0.114, allocations: 247.8 kB / 0.4939 GB, free: 8.383 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.696e-05/0.1141, allocations: 67.7 kB / 0.494 GB, free: 8.316 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.1142, allocations: 119.5 kB / 0.4941 GB, free: 8.199 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006845/0.1149, allocations: 498.2 kB / 0.4946 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.1149, allocations: 8 kB / 0.4946 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1149, allocations: 0 / 0.4946 GB, free: 7.703 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1149, allocations: 0 / 0.4946 GB, free: 7.703 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.004578/0.1195, allocations: 1.074 MB / 0.4956 GB, free: 6.594 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.1195, allocations: 12.03 kB / 0.4957 GB, free: 6.582 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.397e-05/0.1196, allocations: 8.688 kB / 0.4957 GB, free: 6.574 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001175/0.1197, allocations: 75.16 kB / 0.4957 GB, free: 6.492 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.981e-05/0.1198, allocations: 32.75 kB / 0.4958 GB, free: 6.461 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.1202, allocations: 229.9 kB / 0.496 GB, free: 6.211 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.1202, allocations: 20.88 kB / 0.496 GB, free: 6.191 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-05/0.1203, allocations: 32.38 kB / 0.496 GB, free: 6.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007421/0.121, allocations: 0.5082 MB / 0.4965 GB, free: 5.602 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.121, allocations: 0 / 0.4965 GB, free: 5.602 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.022e-05/0.1211, allocations: 15.98 kB / 0.4966 GB, free: 5.586 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.1211, allocations: 4 kB / 0.4966 GB, free: 5.582 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005388/0.1216, allocations: 333.8 kB / 0.4969 GB, free: 5.258 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.1237, allocations: 0.9156 MB / 0.4978 GB, free: 4.293 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.1248, allocations: 391.5 kB / 0.4981 GB, free: 3.902 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003754/0.1252, allocations: 178.2 kB / 0.4983 GB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.606e-05/0.1253, allocations: 12.27 kB / 0.4983 GB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.1253, allocations: 34.84 kB / 0.4984 GB, free: 3.672 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 2.454e-06/0.1253, allocations: 0 / 0.4984 GB, free: 3.672 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.007349/0.1327, allocations: 2.035 MB / 0.5003 GB, free: 1.617 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.146e-05/0.1328, allocations: 110.8 kB / 0.5005 GB, free: 1.484 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.1331, allocations: 232 kB / 0.5007 GB, free: 1.242 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.695e-05/0.1332, allocations: 33.7 kB / 0.5007 GB, free: 1.203 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.1333, allocations: 157 kB / 0.5009 GB, free: 1.047 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.1335, allocations: 154.6 kB / 0.501 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.1337, allocations: 94.17 kB / 0.5011 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.1339, allocations: 346.7 kB / 0.5014 GB, free: 460 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005082/0.1344, allocations: 300.9 kB / 0.5017 GB, free: 160 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005964/0.135, allocations: 396.3 kB / 0.5021 GB, free: 15.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.1361, allocations: 0.6563 MB / 0.5027 GB, free: 15.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.1361, allocations: 8.031 kB / 0.5027 GB, free: 15.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.004046/0.1402, allocations: 1.32 MB / 0.504 GB, free: 13.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.1402, allocations: 8 kB / 0.504 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.1402, allocations: 0 / 0.504 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004307/0.1445, allocations: 0.8499 MB / 0.5049 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.1449, allocations: 75.89 kB / 0.5049 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/0.1558, allocations: 7.659 MB / 0.5124 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/0.1562, allocations: 20.02 kB / 0.5124 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.458e-05/0.1563, allocations: 24.16 kB / 0.5125 GB, free: 4.625 MB / 382.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 (46): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (3,5,100.0%), (1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002341/0.1565, allocations: 153.7 kB / 0.5126 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.122e-05/0.1566, allocations: 31.8 kB / 0.5126 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004075/0.1607, allocations: 1.259 MB / 0.5139 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.1607, allocations: 4 kB / 0.5139 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.1607, allocations: 4 kB / 0.5139 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.1607, allocations: 0 / 0.5139 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004736/0.1655, allocations: 1.749 MB / 0.5156 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.1655, allocations: 0 / 0.5156 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.1657, allocations: 51.92 kB / 0.5156 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004184/0.1699, allocations: 0.8266 MB / 0.5164 GB, free: 456 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.864e-05/0.1699, allocations: 8 kB / 0.5164 GB, free: 448 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2196/0.3895, allocations: 7.671 MB / 0.5239 GB, free: 25.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3895, allocations: 0.7969 kB / 0.5239 GB, free: 25.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003663/0.3931, allocations: 1.274 MB / 0.5252 GB, free: 24.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.454e-05/0.3932, allocations: 29.27 kB / 0.5252 GB, free: 24.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.634e-05/0.3933, allocations: 12.38 kB / 0.5252 GB, free: 24.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/0.3937, allocations: 16.06 kB / 0.5252 GB, free: 24.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.3939, allocations: 41.5 kB / 0.5253 GB, free: 24.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-05/0.3939, allocations: 13.91 kB / 0.5253 GB, free: 24.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001404/0.394, allocations: 166.3 kB / 0.5254 GB, free: 24.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.394, allocations: 0 / 0.5254 GB, free: 24.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007295/0.3948, allocations: 169.1 kB / 0.5256 GB, free: 24.88 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (3,5,100.0%), (1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00446/0.3992, allocations: 2.217 MB / 0.5278 GB, free: 23.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002849/0.4021, allocations: 1.275 MB / 0.529 GB, free: 23.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.4021, allocations: 1.094 kB / 0.529 GB, free: 23.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002038/0.4041, allocations: 0.9467 MB / 0.5299 GB, free: 22.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.4045, allocations: 26.17 kB / 0.53 GB, free: 22.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.4148, allocations: 5.168 MB / 0.535 GB, free: 19.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.415, allocations: 187.2 kB / 0.5352 GB, free: 19.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.4151, allocations: 46.67 kB / 0.5352 GB, free: 19.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.4152, allocations: 103 kB / 0.5353 GB, free: 19.43 MB / 382.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4152, allocations: 0 / 0.5353 GB, free: 19.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04737/0.4626, allocations: 14.88 MB / 0.5499 GB, free: 14.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.15, allocations: 18.84 kB / 0.5499 GB, free: 14.05 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.974530600011349] Failed to read output from testmodel.py, exit status != 0: 13.327330389991403 13.348322541 13.229675634 Calling exit ...