Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.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.0008597/0.0008597, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009102/0.0009102, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8769/0.8769, allocations: 177.1 MB / 204.3 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2278/0.2278, allocations: 29.41 MB / 290.1 MB, free: 2.445 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Introductory.Units,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Units",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Units,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Units",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.622e-05, allocations: 6.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.004226/0.004243, allocations: 5.787 MB / 436 MB, free: 7.773 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.006294, allocations: 1.881 MB / 437.9 MB, free: 5.887 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.006467, allocations: 31.75 kB / 437.9 MB, free: 5.855 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008533/0.00732, allocations: 0.6845 MB / 438.6 MB, free: 5.168 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004478/0.007768, allocations: 393.7 kB / 439 MB, free: 4.781 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000567/0.008335, allocations: 418.7 kB / 439.4 MB, free: 4.371 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005783/0.008913, allocations: 0.9548 MB / 440.3 MB, free: 3.414 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003797/0.009293, allocations: 392.3 kB / 440.7 MB, free: 3.016 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004508/0.009744, allocations: 0.5802 MB / 441.3 MB, free: 2.434 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003913/0.01013, allocations: 0.5026 MB / 441.8 MB, free: 1.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.305e-05/0.01019, allocations: 56 kB / 441.9 MB, free: 1.875 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.01045, allocations: 243.6 kB / 442.1 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002427/0.0107, allocations: 446.9 kB / 442.5 MB, free: 1.199 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.0109, allocations: 299.3 kB / 442.8 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1631/0.174, allocations: 1.035 MB / 443.9 MB, free: 45.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.174, allocations: 0.5625 kB / 443.9 MB, free: 45.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.174, allocations: 2.219 kB / 443.9 MB, free: 45.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.946e-05/0.174, allocations: 0 / 443.9 MB, free: 45.18 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001191/0.1752, allocations: 1.02 MB / 444.9 MB, free: 44.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1753, allocations: 13.64 kB / 444.9 MB, free: 44.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.771e-05/0.1753, allocations: 133.2 kB / 445 MB, free: 44.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005295/0.1759, allocations: 203.8 kB / 445.2 MB, free: 44.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/0.1764, allocations: 489.8 kB / 445.7 MB, free: 44.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.1764, allocations: 55.44 kB / 445.7 MB, free: 44.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.876e-05/0.1765, allocations: 80.12 kB / 445.8 MB, free: 44.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007977/0.1773, allocations: 1.127 MB / 447 MB, free: 44.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.1773, allocations: 9.219 kB / 447 MB, free: 44.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.013e-05/0.1773, allocations: 39.11 kB / 447 MB, free: 44.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.923e-05/0.1774, allocations: 50.91 kB / 447.1 MB, free: 44.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007246/0.1781, allocations: 0.8637 MB / 447.9 MB, free: 44.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.1804, allocations: 4.801 MB / 452.7 MB, free: 40.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.1808, allocations: 400.9 kB / 453.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.1809, allocations: 192.2 kB / 453.3 MB, free: 40.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.1809, allocations: 10.41 kB / 453.3 MB, free: 40.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.181, allocations: 41.14 kB / 453.3 MB, free: 40.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 1.643e-06/0.181, allocations: 0 / 453.3 MB, free: 40.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009756/0.1819, allocations: 1.085 MB / 454.4 MB, free: 40.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.182, allocations: 83.73 kB / 454.5 MB, free: 40.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.1822, allocations: 0.5134 MB / 455 MB, free: 40.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.1822, allocations: 34.77 kB / 455.1 MB, free: 40.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.1824, allocations: 467.2 kB / 455.5 MB, free: 39.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.146e-05/0.1824, allocations: 161.4 kB / 455.7 MB, free: 39.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.591e-05/0.1825, allocations: 152.5 kB / 455.8 MB, free: 39.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.528e-05/0.1826, allocations: 369.7 kB / 456.2 MB, free: 39.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.1828, allocations: 236.3 kB / 456.4 MB, free: 39.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.183, allocations: 0.6171 MB / 457 MB, free: 38.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/0.1835, allocations: 0.9364 MB / 458 MB, free: 38.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1835, allocations: 6.25 kB / 458 MB, free: 38.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0006613/0.1842, allocations: 0.8987 MB / 458.9 MB, free: 37.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1842, allocations: 9.562 kB / 458.9 MB, free: 37.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.1842, allocations: 20.34 kB / 458.9 MB, free: 37.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.1842, allocations: 16.47 kB / 458.9 MB, free: 37.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.1846, allocations: 221.1 kB / 459.1 MB, free: 37.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.1846, allocations: 29.48 kB / 459.2 MB, free: 37.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.1848, allocations: 52.77 kB / 459.2 MB, free: 37.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.1848, allocations: 40.16 kB / 459.3 MB, free: 37.72 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001699/0.185, allocations: 305 kB / 459.6 MB, free: 37.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.185, allocations: 64.84 kB / 459.6 MB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004789/0.1855, allocations: 0.5566 MB / 460.2 MB, free: 37.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1855, allocations: 6.406 kB / 460.2 MB, free: 37.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1855, allocations: 0 / 460.2 MB, free: 37.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1855, allocations: 4.078 kB / 460.2 MB, free: 37.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009944/0.1865, allocations: 1.262 MB / 461.4 MB, free: 36.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1865, allocations: 6.781 kB / 461.5 MB, free: 36.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.1867, allocations: 105.9 kB / 461.6 MB, free: 36.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1867, allocations: 10.02 kB / 461.6 MB, free: 36.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.1868, allocations: 7.031 kB / 461.6 MB, free: 36.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1868, allocations: 9.562 kB / 461.6 MB, free: 36.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1868, allocations: 3.938 kB / 461.6 MB, free: 36.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.1871, allocations: 0.6438 MB / 462.2 MB, free: 36.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/0.1872, allocations: 65.22 kB / 462.3 MB, free: 36.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.1872, allocations: 11.31 kB / 462.3 MB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.1873, allocations: 24.05 kB / 462.3 MB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.1874, allocations: 40.55 kB / 462.4 MB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.1874, allocations: 21.33 kB / 462.4 MB, free: 36.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001699/0.1876, allocations: 323.6 kB / 462.7 MB, free: 36.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1876, allocations: 0 / 462.7 MB, free: 36.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003687/0.1879, allocations: 163.9 kB / 462.9 MB, free: 36.03 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004906/0.1884, allocations: 1.199 MB / 464.1 MB, free: 35.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004694/0.1889, allocations: 0.5806 MB / 464.6 MB, free: 34.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1889, allocations: 0 / 464.6 MB, free: 34.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.1891, allocations: 220.8 kB / 464.9 MB, free: 34.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.1895, allocations: 115.9 kB / 465 MB, free: 34.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003442/0.1929, allocations: 5.77 MB / 470.7 MB, free: 31.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.1931, allocations: 406.4 kB / 471.1 MB, free: 31.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002607/0.1934, allocations: 232 kB / 471.4 MB, free: 31.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.1936, allocations: 250.5 kB / 471.6 MB, free: 30.94 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1936, allocations: 0 / 471.6 MB, free: 30.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.2169, allocations: 12.36 MB / 484 MB, free: 29.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.988/7.205, allocations: 4.125 kB / 484 MB, free: 29.19 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Units.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Introductory.Units_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 PowerSystems_PowerSystems_Examples_Introductory_Units.fmu > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.13902029581368] Failed to read output from testmodel.py, exit status != 0: 7.29171178676188 7.300595795 7.124690377 Calling exit ...