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.0007811/0.0007811, allocations: 76.55 kB / 19.97 MB, free: 4.594 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.001094/0.001094, allocations: 174.3 kB / 23.25 MB, free: 1.309 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.9112/0.9112, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.47 MB / 264.5 MB, free: 8.758 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.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 2.315e-06/2.315e-06, allocations: 0 / 389.6 MB, free: 7.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.075e-05/3.306e-05, allocations: 2.281 kB / 389.6 MB, free: 7.391 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.003686/0.003719, allocations: 1.591 MB / 391.2 MB, free: 5.801 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002468/0.006187, allocations: 1.466 MB / 392.7 MB, free: 4.32 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.00629, allocations: 7.938 kB / 392.7 MB, free: 4.312 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.006665, allocations: 131.2 kB / 392.8 MB, free: 4.184 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.006919, allocations: 87.31 kB / 392.9 MB, free: 4.098 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.007952, allocations: 0.8517 MB / 393.7 MB, free: 3.242 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.008288, allocations: 238.8 kB / 394 MB, free: 3.008 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.00845, allocations: 68.34 kB / 394 MB, free: 2.941 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.008574, allocations: 139.7 kB / 394.2 MB, free: 2.805 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.008724, allocations: 103.7 kB / 394.3 MB, free: 2.703 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.008752, allocations: 20 kB / 394.3 MB, free: 2.684 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003673/0.009119, allocations: 207.6 kB / 394.5 MB, free: 2.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.951e-05/0.009159, allocations: 51.75 kB / 394.5 MB, free: 2.43 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.462e-05/0.009223, allocations: 83.83 kB / 394.6 MB, free: 2.348 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004651/0.009688, allocations: 434.7 kB / 395 MB, free: 1.922 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.009693, allocations: 0 / 395 MB, free: 1.922 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.009695, allocations: 0 / 395 MB, free: 1.922 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.009702, allocations: 0 / 395 MB, free: 1.922 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001425/0.01113, allocations: 0.6885 MB / 395.7 MB, free: 1.199 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.01118, allocations: 12.03 kB / 395.7 MB, free: 1.188 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.981e-05/0.01124, allocations: 58.72 kB / 395.8 MB, free: 1.121 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.36e-05/0.0113, allocations: 24.8 kB / 395.8 MB, free: 1.098 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.01151, allocations: 189.4 kB / 396 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.01152, allocations: 20.88 kB / 396 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.01156, allocations: 24.38 kB / 396.1 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007084/0.01226, allocations: 296.6 kB / 396.4 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.01227, allocations: 192 / 396.4 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.01229, allocations: 8.375 kB / 396.4 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.0123, allocations: 12.12 kB / 396.4 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003037/0.0126, allocations: 305.8 kB / 396.7 MB, free: 232 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.01367, allocations: 0.767 MB / 397.4 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003866/0.01406, allocations: 253.5 kB / 397.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.01418, allocations: 116.8 kB / 397.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.602e-05/0.01428, allocations: 11.98 kB / 397.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.0143, allocations: 38.56 kB / 397.8 MB, free: 14.99 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 1.833e-06/0.01431, allocations: 0 / 397.8 MB, free: 14.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007669/0.01507, allocations: 439.2 kB / 398.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.0151, allocations: 55.41 kB / 398.3 MB, free: 14.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.01522, allocations: 169.7 kB / 398.5 MB, free: 14.31 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.01524, allocations: 33.7 kB / 398.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/0.01531, allocations: 148.6 kB / 398.7 MB, free: 14.12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.01536, allocations: 99.16 kB / 398.8 MB, free: 14.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.129e-05/0.01543, allocations: 65.55 kB / 398.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.706e-05/0.01552, allocations: 326.8 kB / 399.2 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.01564, allocations: 120 kB / 399.3 MB, free: 13.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.01577, allocations: 129.4 kB / 399.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.01607, allocations: 277.2 kB / 399.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.01607, allocations: 0 / 399.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005295/0.0166, allocations: 410 kB / 400.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.01663, allocations: 4 kB / 400.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.01663, allocations: 0 / 400.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002305/0.01686, allocations: 56.81 kB / 400.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.01706, allocations: 59.91 kB / 400.2 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.01837, allocations: 1.439 MB / 401.6 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.01849, allocations: 27.8 kB / 401.7 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.01851, allocations: 12 kB / 401.7 MB, free: 10.98 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 (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.0001349/0.01865, allocations: 133.9 kB / 401.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.01868, allocations: 19.91 kB / 401.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004566/0.01913, allocations: 347.4 kB / 402.2 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.01914, allocations: 4 kB / 402.2 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.01914, allocations: 0 / 402.2 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.01915, allocations: 3.984 kB / 402.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007164/0.01986, allocations: 0.6743 MB / 402.8 MB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.01986, allocations: 0 / 402.8 MB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.01997, allocations: 39.98 kB / 402.9 MB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000128/0.0201, allocations: 52.75 kB / 402.9 MB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.02011, allocations: 8 kB / 402.9 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/0.02142, allocations: 1.42 MB / 404.4 MB, free: 8.102 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.02142, allocations: 3.984 kB / 404.4 MB, free: 8.098 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004405/0.02186, allocations: 394.4 kB / 404.7 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.0219, allocations: 27.77 kB / 404.8 MB, free: 7.668 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.02192, allocations: 4.156 kB / 404.8 MB, free: 7.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.751e-05/0.02199, allocations: 11.94 kB / 404.8 MB, free: 7.652 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.02203, allocations: 15.97 kB / 404.8 MB, free: 7.637 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.02205, allocations: 8 kB / 404.8 MB, free: 7.629 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.44e-05/0.02213, allocations: 134 kB / 404.9 MB, free: 7.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02213, allocations: 0 / 404.9 MB, free: 7.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003252/0.02246, allocations: 83.83 kB / 405 MB, free: 7.418 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 (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.0007901/0.02325, allocations: 0.9394 MB / 406 MB, free: 6.449 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006206/0.02387, allocations: 398.3 kB / 406.4 MB, free: 6.047 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.02387, allocations: 0 / 406.4 MB, free: 6.047 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.02411, allocations: 234.6 kB / 406.6 MB, free: 5.805 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.02432, allocations: 18.97 kB / 406.6 MB, free: 5.789 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/0.02721, allocations: 2.5 MB / 409.1 MB, free: 3.191 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.02733, allocations: 133.2 kB / 409.2 MB, free: 3.043 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001195/0.02745, allocations: 33.61 kB / 409.3 MB, free: 3.012 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.02757, allocations: 68.47 kB / 409.3 MB, free: 2.945 MB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/0.02757, allocations: 0 / 409.3 MB, free: 2.945 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1629/0.1905, allocations: 5.619 MB / 414.9 MB, free: 33.07 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.05/7.24, allocations: 4.75 kB / 415 MB, free: 33.07 MB / 330.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.986585410311818] Failed to read output from testmodel.py, exit status != 0: 7.329209037125111 7.339776753 7.327951281 Calling exit ...