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.001248/0.001248, allocations: 76.52 kB / 19.96 MB, free: 4.602 MB / 18.57 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.001043/0.001043, allocations: 173.9 kB / 23.25 MB, free: 1.316 MB / 18.57 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 0.9103/0.9103, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.02616/0.02616, allocations: 4.465 MB / 264.5 MB, free: 8.766 MB / 250.7 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 1.583e-06/1.583e-06, allocations: 0 / 389.6 MB, free: 7.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.094e-05, allocations: 4.812 kB / 389.6 MB, free: 7.379 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.002462/0.002483, allocations: 2.164 MB / 391.8 MB, free: 5.211 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.004327, allocations: 1.477 MB / 393.3 MB, free: 3.719 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.004506, allocations: 8 kB / 393.3 MB, free: 3.711 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004503/0.004957, allocations: 166.8 kB / 393.4 MB, free: 3.547 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004669/0.005424, allocations: 182.7 kB / 393.6 MB, free: 3.367 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.006713, allocations: 0.8508 MB / 394.5 MB, free: 2.516 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005762/0.007289, allocations: 441.7 kB / 394.9 MB, free: 2.082 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.007494, allocations: 92.81 kB / 395 MB, free: 1.988 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.007712, allocations: 251.4 kB / 395.2 MB, free: 1.742 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000237/0.007949, allocations: 163.5 kB / 395.4 MB, free: 1.582 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.607e-05/0.007995, allocations: 36 kB / 395.4 MB, free: 1.547 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003663/0.008362, allocations: 187.7 kB / 395.6 MB, free: 1.363 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.889e-05/0.00842, allocations: 95.59 kB / 395.7 MB, free: 1.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.008522, allocations: 135.6 kB / 395.8 MB, free: 1.137 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005304/0.009053, allocations: 0.5491 MB / 396.4 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.009057, allocations: 0 / 396.4 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.009059, allocations: 0 / 396.4 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.009066, allocations: 0 / 396.4 MB, free: 0.5859 MB / 314.7 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.00217/0.01124, allocations: 1.062 MB / 397.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.01128, allocations: 16.03 kB / 397.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.0114, allocations: 67.38 kB / 397.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.483e-05/0.01149, allocations: 48.66 kB / 397.6 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/0.01188, allocations: 276.5 kB / 397.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.01191, allocations: 25.03 kB / 397.9 MB, free: 15.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/0.01194, allocations: 28.38 kB / 397.9 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006072/0.01255, allocations: 0.6425 MB / 398.5 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.01256, allocations: 4.125 kB / 398.5 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.01259, allocations: 16.31 kB / 398.6 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.0126, allocations: 8.125 kB / 398.6 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004258/0.01303, allocations: 410.5 kB / 399 MB, free: 13.87 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.0144, allocations: 1.018 MB / 400 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006764/0.01508, allocations: 462.9 kB / 400.4 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/0.01537, allocations: 216.8 kB / 400.6 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.215e-05/0.01543, allocations: 11.98 kB / 400.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.01546, allocations: 38.56 kB / 400.7 MB, free: 12.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 1.793e-06/0.01547, allocations: 0 / 400.7 MB, free: 12.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.002404/0.01787, allocations: 1.269 MB / 402 MB, free: 10.79 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.01791, allocations: 55.41 kB / 402 MB, free: 10.72 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.01816, allocations: 261.8 kB / 402.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.01819, allocations: 41.64 kB / 402.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.976e-05/0.01828, allocations: 169 kB / 402.5 MB, free: 10.24 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.437e-05/0.01837, allocations: 154.6 kB / 402.6 MB, free: 10.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.01847, allocations: 86.17 kB / 402.7 MB, free: 10 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.01857, allocations: 342.8 kB / 403.1 MB, free: 9.656 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.0188, allocations: 216.9 kB / 403.3 MB, free: 9.445 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.01904, allocations: 224.4 kB / 403.5 MB, free: 9.227 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005293/0.01957, allocations: 0.4904 MB / 404 MB, free: 8.734 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01957, allocations: 4 kB / 404 MB, free: 8.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001281/0.02085, allocations: 0.8742 MB / 404.9 MB, free: 7.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.02088, allocations: 8 kB / 404.9 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.02089, allocations: 0 / 404.9 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/0.02203, allocations: 398.1 kB / 405.2 MB, free: 7.434 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.02221, allocations: 59.91 kB / 405.3 MB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005468/0.02767, allocations: 5.542 MB / 410.8 MB, free: 1.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.02799, allocations: 39.67 kB / 410.9 MB, free: 1.461 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.02802, allocations: 16 kB / 410.9 MB, free: 1.445 MB / 330.7 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.0002421/0.02826, allocations: 161.7 kB / 411.1 MB, free: 1.277 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.383e-05/0.02832, allocations: 35.75 kB / 411.1 MB, free: 1.242 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.02972, allocations: 0.9053 MB / 412 MB, free: 328 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.02972, allocations: 4 kB / 412 MB, free: 324 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.02972, allocations: 0 / 412 MB, free: 324 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.02973, allocations: 0 / 412 MB, free: 324 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.169/0.1988, allocations: 415.1 kB / 412.4 MB, free: 33.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.1988, allocations: 0 / 412.4 MB, free: 33.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.199, allocations: 59.97 kB / 412.5 MB, free: 33.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/0.2, allocations: 384.1 kB / 412.8 MB, free: 33.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/0.2, allocations: 10.09 kB / 412.9 MB, free: 33.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003694/0.2037, allocations: 5.492 MB / 418.3 MB, free: 29.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2037, allocations: 3.469 kB / 418.4 MB, free: 29.28 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.205, allocations: 0.9309 MB / 419.3 MB, free: 28.85 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.2051, allocations: 38.11 kB / 419.3 MB, free: 28.83 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.2051, allocations: 11.16 kB / 419.3 MB, free: 28.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.2053, allocations: 30.64 kB / 419.4 MB, free: 28.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.2054, allocations: 39.86 kB / 419.4 MB, free: 28.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.2054, allocations: 19.02 kB / 419.4 MB, free: 28.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000167/0.2056, allocations: 182.2 kB / 419.6 MB, free: 28.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2056, allocations: 1.094 kB / 419.6 MB, free: 28.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005261/0.2061, allocations: 164.8 kB / 419.8 MB, free: 28.67 MB / 330.7 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.001767/0.2079, allocations: 1.813 MB / 421.6 MB, free: 27.53 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.209, allocations: 0.9601 MB / 422.5 MB, free: 26.95 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.209, allocations: 3.391 kB / 422.5 MB, free: 26.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007338/0.2098, allocations: 0.7008 MB / 423.2 MB, free: 26.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.2101, allocations: 51.11 kB / 423.3 MB, free: 26.45 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005125/0.2152, allocations: 4.365 MB / 427.6 MB, free: 23.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.2155, allocations: 200.7 kB / 427.8 MB, free: 23.89 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001517/0.2156, allocations: 44.23 kB / 427.9 MB, free: 23.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.2158, allocations: 120.4 kB / 428 MB, free: 23.8 MB / 330.7 MB Notification: Performance of SimCode: time 1.462e-06/0.2158, allocations: 0 / 428 MB, free: 23.8 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03294/0.2487, allocations: 13.86 MB / 441.9 MB, free: 16.24 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/8.132, allocations: 14.83 kB / 441.9 MB, free: 16.23 MB / 330.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.912788797169924] Failed to read output from testmodel.py, exit status != 0: 8.226288190111518 8.233992083 8.223371907 Calling exit ...