Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.0007877/0.0007877, 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.0008582/0.0008582, 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.937/0.937, allocations: 177.1 MB / 203.6 MB, free: 5.734 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.03188/0.03188, allocations: 4.462 MB / 264.4 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.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 389.6 MB, free: 7.422 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.831e-05/3.036e-05, allocations: 9.031 kB / 389.6 MB, free: 7.414 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.003271/0.003301, allocations: 1.505 MB / 391.1 MB, free: 5.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.005558, allocations: 1.544 MB / 392.7 MB, free: 4.352 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.005689, allocations: 4 kB / 392.7 MB, free: 4.348 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.006124, allocations: 135.1 kB / 392.8 MB, free: 4.215 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003381/0.006462, allocations: 127.1 kB / 392.9 MB, free: 4.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.007648, allocations: 0.8474 MB / 393.8 MB, free: 3.242 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004809/0.008128, allocations: 270.6 kB / 394 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.008324, allocations: 60.56 kB / 394.1 MB, free: 2.918 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.008508, allocations: 147.6 kB / 394.2 MB, free: 2.773 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.008681, allocations: 115.7 kB / 394.3 MB, free: 2.66 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.008715, allocations: 23.94 kB / 394.4 MB, free: 2.637 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004031/0.009119, allocations: 203.7 kB / 394.6 MB, free: 2.438 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.009164, allocations: 51.77 kB / 394.6 MB, free: 2.387 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.095e-05/0.009235, allocations: 83.77 kB / 394.7 MB, free: 2.305 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006524/0.009887, allocations: 446.7 kB / 395.1 MB, free: 1.867 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.00989, allocations: 3.938 kB / 395.1 MB, free: 1.863 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.009891, allocations: 0 / 395.1 MB, free: 1.863 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.009898, allocations: 0 / 395.1 MB, free: 1.863 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001739/0.01164, allocations: 0.782 MB / 395.9 MB, free: 1.043 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.01169, allocations: 16.02 kB / 395.9 MB, free: 1.027 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.223e-05/0.01174, allocations: 50.73 kB / 396 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.235e-05/0.0118, allocations: 28.8 kB / 396 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.01208, allocations: 199 kB / 396.2 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.0121, allocations: 20.88 kB / 396.2 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.01213, allocations: 24.38 kB / 396.3 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007007/0.01283, allocations: 399.4 kB / 396.6 MB, free: 260 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.01284, allocations: 192 / 396.6 MB, free: 260 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.01287, allocations: 8.375 kB / 396.6 MB, free: 252 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.01288, allocations: 8.125 kB / 396.7 MB, free: 244 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.01333, allocations: 293.8 kB / 396.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.01477, allocations: 0.7711 MB / 397.7 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007129/0.01549, allocations: 358.6 kB / 398.1 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.01566, allocations: 156.8 kB / 398.2 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.088e-05/0.01571, allocations: 7.984 kB / 398.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.01573, allocations: 42.56 kB / 398.3 MB, free: 14.56 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 2.063e-06/0.01574, allocations: 0 / 398.3 MB, free: 14.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.001668/0.0174, allocations: 0.8769 MB / 399.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.01744, allocations: 55.41 kB / 399.2 MB, free: 13.61 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.01762, allocations: 223.8 kB / 399.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.01764, allocations: 29.7 kB / 399.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.01772, allocations: 136.9 kB / 399.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.61e-05/0.01778, allocations: 111 kB / 399.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-05/0.01787, allocations: 77.59 kB / 399.8 MB, free: 13.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.828e-05/0.01796, allocations: 330.8 kB / 400.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005008/0.01846, allocations: 179.9 kB / 400.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.01865, allocations: 183.9 kB / 400.4 MB, free: 12.33 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004093/0.01906, allocations: 397.2 kB / 400.8 MB, free: 11.94 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.01906, allocations: 0 / 400.8 MB, free: 11.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009822/0.02004, allocations: 0.6579 MB / 401.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.02006, allocations: 4 kB / 401.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.02008, allocations: 0 / 401.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006543/0.02073, allocations: 256.5 kB / 401.7 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.02087, allocations: 51.91 kB / 401.8 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002664/0.02353, allocations: 2.54 MB / 404.3 MB, free: 8.312 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.02367, allocations: 27.73 kB / 404.4 MB, free: 8.285 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.02369, allocations: 15.98 kB / 404.4 MB, free: 8.27 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 (32): * Single equations (assignments): 31 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.02382, allocations: 145.7 kB / 404.5 MB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.02386, allocations: 23.86 kB / 404.5 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008447/0.0247, allocations: 0.5947 MB / 405.1 MB, free: 7.488 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.02471, allocations: 4 kB / 405.1 MB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.02471, allocations: 4 kB / 405.1 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.02472, allocations: 3.938 kB / 405.1 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.02583, allocations: 0.9676 MB / 406.1 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.02583, allocations: 0 / 406.1 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.096e-05/0.02589, allocations: 31.98 kB / 406.1 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005201/0.02641, allocations: 248.5 kB / 406.4 MB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.02643, allocations: 8 kB / 406.4 MB, free: 6.172 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002563/0.029, allocations: 2.519 MB / 408.9 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.029, allocations: 0 / 408.9 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007701/0.02977, allocations: 0.6374 MB / 409.6 MB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.02981, allocations: 27.88 kB / 409.6 MB, free: 2.852 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.02983, allocations: 8 kB / 409.6 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.02995, allocations: 20.31 kB / 409.6 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.331e-05/0.03001, allocations: 19.95 kB / 409.6 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.03003, allocations: 8 kB / 409.6 MB, free: 2.797 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001192/0.03015, allocations: 167 kB / 409.8 MB, free: 2.633 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03015, allocations: 0 / 409.8 MB, free: 2.633 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003545/0.0305, allocations: 111.9 kB / 409.9 MB, free: 2.523 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 (20): * Single equations (assignments): 19 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001085/0.03159, allocations: 1.201 MB / 411.1 MB, free: 1.293 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009463/0.03253, allocations: 0.5845 MB / 411.7 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.03254, allocations: 4 kB / 411.7 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004543/0.03299, allocations: 382.4 kB / 412.1 MB, free: 312 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.0333, allocations: 23.94 kB / 412.1 MB, free: 288 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1563/0.1896, allocations: 3.359 MB / 415.5 MB, free: 32.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.1898, allocations: 147.2 kB / 415.6 MB, free: 32.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001366/0.1899, allocations: 31.45 kB / 415.6 MB, free: 32.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.19, allocations: 73.17 kB / 415.7 MB, free: 32.18 MB / 330.7 MB Notification: Performance of SimCode: time 1.803e-06/0.19, allocations: 0 / 415.7 MB, free: 32.18 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02786/0.2179, allocations: 9.12 MB / 424.8 MB, free: 29.82 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.818/8.036, allocations: 11.88 kB / 424.8 MB, free: 29.82 MB / 330.7 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.813851577229798] Failed to read output from testmodel.py, exit status != 0: 8.1316839158535 8.136639343 8.125323098 Calling exit ...