Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.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.001765/0.001765, allocations: 108.9 kB / 20.48 MB, free: 1.344 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.002394/0.002394, allocations: 216.7 kB / 23.8 MB, free: 4.16 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.504/1.504, allocations: 230.6 MB / 257.6 MB, free: 8.008 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 0.9975/0.9975, allocations: 150 MB / 464 MB, free: 10.46 MB / 366.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.Sources.Examples.VoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource",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.001965/0.001965, allocations: 62.5 kB / 0.642 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1711, allocations: 89.18 MB / 0.7291 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.005007/0.1761, allocations: 3.329 MB / 0.7324 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002425/0.1786, allocations: 1.48 MB / 0.7338 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.1787, allocations: 11.94 kB / 0.7338 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.1798, allocations: 358.6 kB / 0.7342 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003456/0.1801, allocations: 147.2 kB / 0.7343 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.1805, allocations: 159.5 kB / 0.7344 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004327/0.1809, allocations: 330.9 kB / 0.7348 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003831/0.1813, allocations: 208 kB / 0.735 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.1815, allocations: 147.5 kB / 0.7351 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.1818, allocations: 159.4 kB / 0.7353 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.568e-05/0.1819, allocations: 20 kB / 0.7353 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003132/0.1822, allocations: 179.6 kB / 0.7354 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.1823, allocations: 83.73 kB / 0.7355 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.1824, allocations: 119.4 kB / 0.7356 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004895/0.1829, allocations: 370.6 kB / 0.736 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.1829, allocations: 3.984 kB / 0.736 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1829, allocations: 4 kB / 0.736 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.1829, allocations: 3.938 kB / 0.736 GB, free: 10.16 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000903/0.1838, allocations: 477.4 kB / 0.7365 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 8.129e-05/0.1839, allocations: 8.031 kB / 0.7365 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.204e-05/0.1839, allocations: 8.625 kB / 0.7365 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.311e-05/0.184, allocations: 62.7 kB / 0.7365 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006456/0.1847, allocations: 92.67 kB / 0.7366 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.185, allocations: 203.7 kB / 0.7368 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.185, allocations: 20.73 kB / 0.7368 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.1851, allocations: 20.38 kB / 0.7369 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005985/0.1857, allocations: 316.3 kB / 0.7372 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.1857, allocations: 3.938 kB / 0.7372 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.1857, allocations: 4 kB / 0.7372 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.983e-05/0.1857, allocations: 24.42 kB / 0.7372 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003863/0.1861, allocations: 205.6 kB / 0.7374 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.1878, allocations: 1.463 MB / 0.7388 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/0.1882, allocations: 118.6 kB / 0.7389 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.513e-05/0.1883, allocations: 36.83 kB / 0.739 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.853e-05/0.1883, allocations: 11.94 kB / 0.739 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.1883, allocations: 34.56 kB / 0.739 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.1883, allocations: 0 / 0.739 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0005552/0.1889, allocations: 182.6 kB / 0.7392 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.1889, allocations: 55.41 kB / 0.7392 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.1892, allocations: 218.8 kB / 0.7394 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.1892, allocations: 25.7 kB / 0.7395 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.1893, allocations: 180 kB / 0.7396 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.1893, allocations: 31.73 kB / 0.7397 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.511e-05/0.1894, allocations: 33.67 kB / 0.7397 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1895, allocations: 330.8 kB / 0.74 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.1897, allocations: 43.97 kB / 0.7401 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.1898, allocations: 108.6 kB / 0.7402 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.1901, allocations: 164.4 kB / 0.7403 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1901, allocations: 7.938 kB / 0.7403 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004074/0.1905, allocations: 210.1 kB / 0.7405 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.1905, allocations: 8 kB / 0.7405 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1905, allocations: 3.938 kB / 0.7405 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001671/0.1907, allocations: 33.06 kB / 0.7406 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1908, allocations: 31.98 kB / 0.7406 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.192, allocations: 1.326 MB / 0.7419 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.1922, allocations: 19.89 kB / 0.7419 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.1922, allocations: 7.984 kB / 0.7419 GB, free: 3.586 MB / 0.5606 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 (18): * Single equations (assignments): 17 * 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.0001683/0.1923, allocations: 161.6 kB / 0.7421 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.811e-05/0.1924, allocations: 15.91 kB / 0.7421 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/0.1924, allocations: 21.39 kB / 0.7421 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1924, allocations: 4.062 kB / 0.7421 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.1924, allocations: 0 / 0.7421 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1924, allocations: 0 / 0.7421 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000675/0.1931, allocations: 462.3 kB / 0.7426 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.1931, allocations: 4 kB / 0.7426 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.574e-05/0.1932, allocations: 11.98 kB / 0.7426 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.992e-05/0.1933, allocations: 24.84 kB / 0.7426 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.1933, allocations: 7.938 kB / 0.7426 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/0.1944, allocations: 1.323 MB / 0.7439 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1944, allocations: 0 / 0.7439 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/0.1947, allocations: 240.2 kB / 0.7441 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.576e-05/0.1948, allocations: 23.84 kB / 0.7441 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.1948, allocations: 3.984 kB / 0.7441 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.1949, allocations: 16.06 kB / 0.7442 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.195, allocations: 3.984 kB / 0.7442 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.195, allocations: 7.938 kB / 0.7442 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000147/0.1951, allocations: 144.6 kB / 0.7443 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1951, allocations: 0 / 0.7443 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003535/0.1955, allocations: 55.89 kB / 0.7444 GB, free: 0.8867 MB / 0.5606 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 (7): * Single equations (assignments): 6 * 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.0006319/0.1961, allocations: 0.7639 MB / 0.7451 GB, free: 92 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004805/0.1966, allocations: 234.9 kB / 0.7453 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1966, allocations: 4.125 kB / 0.7453 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.1968, allocations: 158.7 kB / 0.7455 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.1972, allocations: 44.3 kB / 0.7455 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/0.2, allocations: 2.176 MB / 0.7477 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.2003, allocations: 0.7515 MB / 0.7484 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.2004, allocations: 25.47 kB / 0.7484 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.664e-05/0.2005, allocations: 59.42 kB / 0.7485 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of SimCode: time 6.72e-07/0.2005, allocations: 0 / 0.7485 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.2283, allocations: 4.239 MB / 0.7526 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/11.97, allocations: 11.78 kB / 0.7526 GB, free: 8.395 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.216296370024793] Failed to read output from testmodel.py, exit status != 0: 12.136584958003368 12.478251626 12.292716311 Calling exit ...