Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.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.001329/0.001329, allocations: 118.8 kB / 17.84 MB, free: 5.234 MB / 14.72 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.001482/0.001482, allocations: 202.3 kB / 20.79 MB, free: 2.297 MB / 14.72 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 1.616/1.616, allocations: 230.6 MB / 254.2 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.037/1.037, allocations: 150 MB / 460.2 MB, free: 5.242 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 60.19 kB / 0.6368 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1744, allocations: 89.14 MB / 0.7238 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.005154/0.1796, allocations: 3.113 MB / 0.7269 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002481/0.182, allocations: 1.383 MB / 0.7282 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.1822, allocations: 11.94 kB / 0.7282 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.1833, allocations: 339.8 kB / 0.7285 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003679/0.1836, allocations: 151.3 kB / 0.7287 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.184, allocations: 139.6 kB / 0.7288 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004002/0.1844, allocations: 299 kB / 0.7291 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004162/0.1848, allocations: 188.3 kB / 0.7293 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.185, allocations: 127.5 kB / 0.7294 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000315/0.1853, allocations: 147.5 kB / 0.7296 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.559e-05/0.1854, allocations: 20 kB / 0.7296 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003125/0.1857, allocations: 175.6 kB / 0.7297 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.923e-05/0.1858, allocations: 83.8 kB / 0.7298 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.1859, allocations: 103.5 kB / 0.7299 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004743/0.1864, allocations: 338.7 kB / 0.7302 GB, free: 13.42 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1864, allocations: 4 kB / 0.7302 GB, free: 13.42 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1864, allocations: 0 / 0.7302 GB, free: 13.42 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.1864, allocations: 0 / 0.7302 GB, free: 13.42 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009175/0.1873, allocations: 0.522 MB / 0.7308 GB, free: 12.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1874, allocations: 8.031 kB / 0.7308 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.119e-05/0.1874, allocations: 8.562 kB / 0.7308 GB, free: 12.83 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.092e-05/0.1874, allocations: 54.73 kB / 0.7308 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005826/0.188, allocations: 80.72 kB / 0.7309 GB, free: 12.69 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.1884, allocations: 252 kB / 0.7311 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.1884, allocations: 12.75 kB / 0.7312 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.1885, allocations: 24.31 kB / 0.7312 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005024/0.189, allocations: 298.9 kB / 0.7315 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.189, allocations: 4 kB / 0.7315 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.189, allocations: 7.984 kB / 0.7315 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-05/0.189, allocations: 24.3 kB / 0.7315 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.1894, allocations: 193 kB / 0.7317 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.1911, allocations: 1.464 MB / 0.7331 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.1914, allocations: 163.7 kB / 0.7333 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.232e-05/0.1915, allocations: 36.84 kB / 0.7333 GB, free: 9.977 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.1915, allocations: 0 / 0.7333 GB, free: 9.977 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.1915, allocations: 38.5 kB / 0.7333 GB, free: 9.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1915, allocations: 3.938 kB / 0.7333 GB, free: 9.926 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005418/0.1921, allocations: 223.7 kB / 0.7336 GB, free: 9.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.1921, allocations: 59.39 kB / 0.7336 GB, free: 9.609 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.1923, allocations: 199.4 kB / 0.7338 GB, free: 9.406 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.1924, allocations: 25.7 kB / 0.7338 GB, free: 9.375 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.1925, allocations: 175.9 kB / 0.734 GB, free: 9.199 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.1925, allocations: 19.86 kB / 0.734 GB, free: 9.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.695e-05/0.1926, allocations: 41.66 kB / 0.7341 GB, free: 9.133 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1927, allocations: 330.8 kB / 0.7344 GB, free: 8.801 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.668e-05/0.1928, allocations: 31.92 kB / 0.7344 GB, free: 8.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.1929, allocations: 110.5 kB / 0.7345 GB, free: 8.633 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.1931, allocations: 144.4 kB / 0.7346 GB, free: 8.461 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1931, allocations: 0 / 0.7346 GB, free: 8.461 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003316/0.1935, allocations: 190.3 kB / 0.7348 GB, free: 8.266 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1935, allocations: 12.03 kB / 0.7348 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1935, allocations: 0 / 0.7348 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001864/0.1937, allocations: 28.84 kB / 0.7349 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.1938, allocations: 31.86 kB / 0.7349 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.1951, allocations: 1.414 MB / 0.7363 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.1952, allocations: 19.92 kB / 0.7363 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.1952, allocations: 4 kB / 0.7363 GB, free: 6.613 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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.0001598/0.1954, allocations: 150.5 kB / 0.7364 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.1955, allocations: 23.89 kB / 0.7365 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.1955, allocations: 13.41 kB / 0.7365 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1955, allocations: 0 / 0.7365 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1955, allocations: 4 kB / 0.7365 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1955, allocations: 0 / 0.7365 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005863/0.1961, allocations: 455.1 kB / 0.7369 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1961, allocations: 0 / 0.7369 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.1961, allocations: 16.06 kB / 0.7369 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.23e-05/0.1962, allocations: 20.84 kB / 0.7369 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.1962, allocations: 0 / 0.7369 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/0.1974, allocations: 1.414 MB / 0.7383 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.1974, allocations: 4.375 kB / 0.7383 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.1976, allocations: 220.2 kB / 0.7385 GB, free: 4.086 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.5e-05/0.1977, allocations: 105 kB / 0.7386 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.1977, allocations: 0 / 0.7386 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.1979, allocations: 4 kB / 0.7386 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/0.1979, allocations: 3.984 kB / 0.7386 GB, free: 3.957 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.1979, allocations: 8 kB / 0.7387 GB, free: 3.949 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001532/0.198, allocations: 140.4 kB / 0.7388 GB, free: 3.812 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.198, allocations: 0 / 0.7388 GB, free: 3.812 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000354/0.1984, allocations: 55.83 kB / 0.7388 GB, free: 3.758 MB / 0.545 GB 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.0006126/0.199, allocations: 0.7475 MB / 0.7396 GB, free: 2.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004156/0.1994, allocations: 211 kB / 0.7398 GB, free: 2.762 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1994, allocations: 0 / 0.7398 GB, free: 2.762 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.1996, allocations: 146.6 kB / 0.7399 GB, free: 2.605 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.2, allocations: 38.11 kB / 0.74 GB, free: 2.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.2026, allocations: 2.055 MB / 0.742 GB, free: 384 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004776/0.203, allocations: 0.7552 MB / 0.7427 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.075e-05/0.2031, allocations: 29.53 kB / 0.7427 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.74e-05/0.2032, allocations: 55.41 kB / 0.7428 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.2032, allocations: 0 / 0.7428 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02579/0.229, allocations: 3.767 MB / 0.7465 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.52, allocations: 4.875 kB / 0.7465 GB, free: 11.89 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.7212950210087] Failed to read output from testmodel.py, exit status != 0: 10.665562968002632 10.681573527 10.491907286 Calling exit ...