Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.0008003/0.0008003, allocations: 80.53 kB / 19.96 MB, free: 4.598 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.0008257/0.0008257, allocations: 173.9 kB / 23.25 MB, free: 1.312 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.9362/0.9362, allocations: 177.1 MB / 203.6 MB, free: 5.75 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.02628/0.02628, allocations: 4.465 MB / 264.5 MB, free: 8.781 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.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 389.6 MB, free: 7.418 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245e-05/1.388e-05, allocations: 2.984 kB / 389.6 MB, free: 7.414 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.00138/0.001394, allocations: 0.8264 MB / 390.4 MB, free: 6.594 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.002682, allocations: 1.306 MB / 391.7 MB, free: 5.273 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.171e-05/0.002734, allocations: 4 kB / 391.7 MB, free: 5.27 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002506/0.002984, allocations: 59.58 kB / 391.8 MB, free: 5.211 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.003133, allocations: 39.77 kB / 391.8 MB, free: 5.172 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004477/0.003581, allocations: 314.3 kB / 392.1 MB, free: 4.867 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.003683, allocations: 83.53 kB / 392.2 MB, free: 4.785 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.003783, allocations: 19.92 kB / 392.2 MB, free: 4.766 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.771e-05/0.003831, allocations: 39.91 kB / 392.3 MB, free: 4.727 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.003937, allocations: 35.89 kB / 392.3 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.003953, allocations: 4 kB / 392.3 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.004117, allocations: 103.8 kB / 392.4 MB, free: 4.586 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.004135, allocations: 19.92 kB / 392.4 MB, free: 4.566 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.004161, allocations: 19.92 kB / 392.5 MB, free: 4.547 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.004366, allocations: 175.4 kB / 392.6 MB, free: 4.375 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.004368, allocations: 4 kB / 392.6 MB, free: 4.371 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.00437, allocations: 0 / 392.6 MB, free: 4.371 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.004375, allocations: 0 / 392.6 MB, free: 4.371 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006374/0.005012, allocations: 365.7 kB / 393 MB, free: 3.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.005052, allocations: 12.03 kB / 393 MB, free: 3.969 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.362e-05/0.005085, allocations: 34.75 kB / 393 MB, free: 3.926 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.005114, allocations: 8.891 kB / 393 MB, free: 3.918 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.005227, allocations: 133.6 kB / 393.2 MB, free: 3.762 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.005238, allocations: 4.375 kB / 393.2 MB, free: 3.758 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.00525, allocations: 12.38 kB / 393.2 MB, free: 3.746 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.005401, allocations: 141.6 kB / 393.3 MB, free: 3.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.005408, allocations: 192 / 393.3 MB, free: 3.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.005419, allocations: 4.375 kB / 393.3 MB, free: 3.586 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.005425, allocations: 8.062 kB / 393.3 MB, free: 3.578 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.299e-05/0.005508, allocations: 71.97 kB / 393.4 MB, free: 3.508 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.005939, allocations: 339.8 kB / 393.7 MB, free: 3.133 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.006157, allocations: 98.67 kB / 393.8 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.426e-05/0.006191, allocations: 28.86 kB / 393.9 MB, free: 2.996 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.00622, allocations: 4 kB / 393.9 MB, free: 2.992 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.00624, allocations: 38.55 kB / 393.9 MB, free: 2.945 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.006241, allocations: 0 / 393.9 MB, free: 2.945 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003628/0.006604, allocations: 162.5 kB / 394.1 MB, free: 2.777 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.00663, allocations: 51.41 kB / 394.1 MB, free: 2.715 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.076e-05/0.006721, allocations: 133.8 kB / 394.3 MB, free: 2.574 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.006735, allocations: 33.7 kB / 394.3 MB, free: 2.535 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.006781, allocations: 99.98 kB / 394.4 MB, free: 2.434 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.267e-05/0.006794, allocations: 27.78 kB / 394.4 MB, free: 2.406 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.00683, allocations: 25.7 kB / 394.4 MB, free: 2.375 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.547e-05/0.006905, allocations: 322.8 kB / 394.7 MB, free: 2.051 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.925e-05/0.006944, allocations: 35.92 kB / 394.8 MB, free: 2.016 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.32e-05/0.006978, allocations: 31.98 kB / 394.8 MB, free: 1.984 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.733e-05/0.007055, allocations: 76.78 kB / 394.9 MB, free: 1.906 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.007056, allocations: 0 / 394.9 MB, free: 1.906 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001671/0.007224, allocations: 142.4 kB / 395 MB, free: 1.758 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.007235, allocations: 4.281 kB / 395 MB, free: 1.754 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.00724, allocations: 0 / 395 MB, free: 1.754 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001594/0.007399, allocations: 40.83 kB / 395.1 MB, free: 1.711 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.24e-05/0.007442, allocations: 23.81 kB / 395.1 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008304/0.008272, allocations: 1.326 MB / 396.4 MB, free: 252 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.762e-05/0.00832, allocations: 24.06 kB / 396.4 MB, free: 228 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.008326, allocations: 0 / 396.4 MB, free: 228 kB / 314.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 (9): * Single equations (assignments): 8 * 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 7.752e-05/0.008404, allocations: 125.7 kB / 396.6 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.008421, allocations: 3.953 kB / 396.6 MB, free: 88 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.008625, allocations: 127 kB / 396.7 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.008627, allocations: 0 / 396.7 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.00863, allocations: 3.984 kB / 396.7 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.008633, allocations: 0 / 396.7 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.008768, allocations: 168.7 kB / 396.9 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.00877, allocations: 4 kB / 396.9 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.842e-05/0.008788, allocations: 11.94 kB / 396.9 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.178e-05/0.00888, allocations: 32.83 kB / 396.9 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.008888, allocations: 4 kB / 396.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007471/0.009635, allocations: 1.318 MB / 398.2 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.009638, allocations: 4.031 kB / 398.2 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.009826, allocations: 212.6 kB / 398.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.009839, allocations: 11.95 kB / 398.5 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-06/0.009848, allocations: 3.938 kB / 398.5 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.247e-05/0.00991, allocations: 7.984 kB / 398.5 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.009939, allocations: 11.92 kB / 398.5 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.009944, allocations: 0 / 398.5 MB, free: 13.99 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.894e-05/0.01002, allocations: 115.2 kB / 398.6 MB, free: 13.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01002, allocations: 96 / 398.6 MB, free: 13.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002227/0.01025, allocations: 32 kB / 398.6 MB, free: 13.84 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 (6): * Single equations (assignments): 5 * 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.0004831/0.01073, allocations: 0.7473 MB / 399.4 MB, free: 13.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003268/0.01106, allocations: 186.7 kB / 399.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01106, allocations: 8 kB / 399.6 MB, free: 12.87 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.01117, allocations: 158.6 kB / 399.7 MB, free: 12.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.01143, allocations: 20 kB / 399.7 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.01266, allocations: 1.598 MB / 401.3 MB, free: 11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.855e-05/0.01272, allocations: 79.27 kB / 401.4 MB, free: 10.9 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.205e-05/0.01276, allocations: 8.734 kB / 401.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.013e-05/0.0128, allocations: 24.48 kB / 401.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.0128, allocations: 0 / 401.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/0.02951, allocations: 3.561 MB / 405 MB, free: 7.43 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.144/7.174, allocations: 7.859 kB / 405 MB, free: 7.422 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.071253563277423] Failed to read output from testmodel.py, exit status != 0: 7.259189275093377 7.412432975 7.405641617 Calling exit ...