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.0008795/0.0008795, allocations: 72.55 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.001006/0.001006, 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.892/0.892, allocations: 177.1 MB / 203.6 MB, free: 5.746 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.02424/0.02424, allocations: 4.468 MB / 264.5 MB, free: 8.77 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 1.734e-06/1.734e-06, allocations: 0 / 389.6 MB, free: 7.418 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.453e-05, allocations: 4.953 kB / 389.6 MB, free: 7.414 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.002067/0.002092, allocations: 1.596 MB / 391.2 MB, free: 5.816 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.00372, allocations: 1.462 MB / 392.7 MB, free: 4.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.873e-05/0.003799, allocations: 7.938 kB / 392.7 MB, free: 4.332 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.004113, allocations: 131.2 kB / 392.8 MB, free: 4.203 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.004317, allocations: 87.33 kB / 392.9 MB, free: 4.117 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009051/0.005222, allocations: 0.8552 MB / 393.7 MB, free: 3.262 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.005463, allocations: 226.8 kB / 394 MB, free: 3.039 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.005614, allocations: 80.33 kB / 394 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.005716, allocations: 143.7 kB / 394.2 MB, free: 2.82 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.005853, allocations: 99.69 kB / 394.3 MB, free: 2.723 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.005881, allocations: 23.98 kB / 394.3 MB, free: 2.699 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002883/0.006169, allocations: 207.6 kB / 394.5 MB, free: 2.496 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.303e-05/0.006202, allocations: 47.83 kB / 394.5 MB, free: 2.449 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.885e-05/0.006261, allocations: 79.77 kB / 394.6 MB, free: 2.371 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003863/0.006648, allocations: 430.7 kB / 395 MB, free: 1.949 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.006649, allocations: 0 / 395 MB, free: 1.949 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.006651, allocations: 4 kB / 395 MB, free: 1.945 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.006655, allocations: 0 / 395 MB, free: 1.945 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.001223/0.007878, allocations: 0.6924 MB / 395.7 MB, free: 1.219 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.007914, allocations: 8.031 kB / 395.7 MB, free: 1.211 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.091e-05/0.007965, allocations: 58.73 kB / 395.8 MB, free: 1.145 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.008008, allocations: 24.8 kB / 395.8 MB, free: 1.121 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.008184, allocations: 185.4 kB / 396 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.008201, allocations: 20.88 kB / 396 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.008227, allocations: 24.38 kB / 396.1 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.008556, allocations: 300.6 kB / 396.4 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.008565, allocations: 192 / 396.4 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.008584, allocations: 12.36 kB / 396.4 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.008592, allocations: 12.12 kB / 396.4 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.008888, allocations: 297.8 kB / 396.7 MB, free: 260 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.009937, allocations: 0.7709 MB / 397.4 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.01026, allocations: 257.5 kB / 397.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.01038, allocations: 112.8 kB / 397.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.553e-05/0.01045, allocations: 15.98 kB / 397.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.01047, allocations: 30.56 kB / 397.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 1.172e-06/0.01047, allocations: 0 / 397.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007051/0.01118, allocations: 443.2 kB / 398.3 MB, free: 14.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.01121, allocations: 55.41 kB / 398.3 MB, free: 14.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.01131, allocations: 169.7 kB / 398.5 MB, free: 14.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.01133, allocations: 33.7 kB / 398.5 MB, free: 14.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.0114, allocations: 156.5 kB / 398.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.01144, allocations: 95.17 kB / 398.8 MB, free: 14.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.605e-05/0.01151, allocations: 65.55 kB / 398.8 MB, free: 13.97 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.115e-05/0.01159, allocations: 322.8 kB / 399.2 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.01172, allocations: 128 kB / 399.3 MB, free: 13.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.01184, allocations: 125.4 kB / 399.4 MB, free: 13.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.01211, allocations: 281.2 kB / 399.7 MB, free: 13.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01211, allocations: 0 / 399.7 MB, free: 13.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004091/0.01252, allocations: 394 kB / 400.1 MB, free: 12.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.01253, allocations: 8 kB / 400.1 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.01254, allocations: 4 kB / 400.1 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001701/0.01271, allocations: 52.81 kB / 400.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.01288, allocations: 63.89 kB / 400.2 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008825/0.01376, allocations: 1.435 MB / 401.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.176e-05/0.01385, allocations: 27.81 kB / 401.6 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.01387, allocations: 8 kB / 401.7 MB, free: 11.01 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 9.764e-05/0.01396, allocations: 141.8 kB / 401.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.01399, allocations: 15.91 kB / 401.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003827/0.01437, allocations: 351.5 kB / 402.2 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.01438, allocations: 0 / 402.2 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.01438, allocations: 0 / 402.2 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.01438, allocations: 4 kB / 402.2 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006025/0.01498, allocations: 0.6704 MB / 402.8 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01499, allocations: 0 / 402.8 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.01509, allocations: 47.97 kB / 402.9 MB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/0.0152, allocations: 52.77 kB / 402.9 MB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.01521, allocations: 4 kB / 402.9 MB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007778/0.01599, allocations: 1.428 MB / 404.4 MB, free: 8.121 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01599, allocations: 0 / 404.4 MB, free: 8.121 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.01634, allocations: 394.4 kB / 404.7 MB, free: 7.719 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.01635, allocations: 23.78 kB / 404.8 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.01637, allocations: 4 kB / 404.8 MB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.01644, allocations: 7.938 kB / 404.8 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.01647, allocations: 20.06 kB / 404.8 MB, free: 7.664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.01648, allocations: 11.94 kB / 404.8 MB, free: 7.652 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.781e-05/0.01654, allocations: 137.9 kB / 404.9 MB, free: 7.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01654, allocations: 0 / 404.9 MB, free: 7.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002456/0.01679, allocations: 87.83 kB / 405 MB, free: 7.434 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.0005851/0.01737, allocations: 0.9394 MB / 406 MB, free: 6.465 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004824/0.01786, allocations: 382.4 kB / 406.3 MB, free: 6.078 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.01786, allocations: 0 / 406.3 MB, free: 6.078 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.01807, allocations: 242.6 kB / 406.6 MB, free: 5.828 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.01824, allocations: 14.66 kB / 406.6 MB, free: 5.816 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.02042, allocations: 2.504 MB / 409.1 MB, free: 3.215 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.02052, allocations: 129.2 kB / 409.2 MB, free: 3.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.308e-05/0.02061, allocations: 33.61 kB / 409.3 MB, free: 3.039 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.513e-05/0.0207, allocations: 64.48 kB / 409.3 MB, free: 2.977 MB / 330.7 MB Notification: Performance of SimCode: time 1.293e-06/0.0207, allocations: 0 / 409.3 MB, free: 2.977 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1497/0.1704, allocations: 5.627 MB / 414.9 MB, free: 33.12 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.093/7.263, allocations: 8.531 kB / 415 MB, free: 33.12 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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.06661073397845] Failed to read output from testmodel.py, exit status != 0: 7.347206704318523 7.356967542 7.347941693 Calling exit ...