Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001278/0.001278, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001583/0.001583, allocations: 216.1 kB / 23.04 MB, free: 5.07 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002542/0.002542, allocations: 293.2 kB / 313.5 MB, free: 2.832 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.225/1.225, allocations: 180.6 MB / 0.5377 GB, free: 13.1 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Sources_Examples_VoltageSource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Sources_Examples_VoltageSource",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.00277/0.00277, allocations: 104 kB / 0.7403 GB, free: 28.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1752, allocations: 95.38 MB / 0.8335 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.005298/0.1805, allocations: 3.34 MB / 0.8367 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002414/0.1829, allocations: 1.488 MB / 0.8382 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.1831, allocations: 11.94 kB / 0.8382 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.1841, allocations: 354.6 kB / 0.8385 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003328/0.1845, allocations: 147.2 kB / 0.8387 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003873/0.1848, allocations: 156.7 kB / 0.8388 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004031/0.1852, allocations: 334.9 kB / 0.8391 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003895/0.1856, allocations: 192.1 kB / 0.8393 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002537/0.1859, allocations: 159.5 kB / 0.8395 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.1862, allocations: 151.4 kB / 0.8396 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.1862, allocations: 20 kB / 0.8396 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003098/0.1865, allocations: 183.6 kB / 0.8398 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.1866, allocations: 79.8 kB / 0.8399 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.1868, allocations: 123.4 kB / 0.84 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004896/0.1872, allocations: 374.5 kB / 0.8404 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1872, allocations: 0 / 0.8404 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1873, allocations: 0 / 0.8404 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.1873, allocations: 4 kB / 0.8404 GB, free: 1.617 MB / 0.5762 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.0008747/0.1881, allocations: 477.4 kB / 0.8408 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1882, allocations: 9.344 kB / 0.8408 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.5e-05/0.1882, allocations: 8.562 kB / 0.8409 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.053e-05/0.1882, allocations: 58.72 kB / 0.8409 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006527/0.1889, allocations: 96.7 kB / 0.841 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.1892, allocations: 207.4 kB / 0.8412 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.1892, allocations: 16.81 kB / 0.8412 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.1893, allocations: 20.36 kB / 0.8412 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005035/0.1898, allocations: 308.3 kB / 0.8415 GB, free: 360 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1898, allocations: 3.938 kB / 0.8415 GB, free: 356 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.1898, allocations: 12 kB / 0.8415 GB, free: 344 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.842e-05/0.1899, allocations: 16.42 kB / 0.8416 GB, free: 328 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003774/0.1902, allocations: 213.6 kB / 0.8418 GB, free: 116 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.1919, allocations: 1.463 MB / 0.8432 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.1923, allocations: 130.5 kB / 0.8433 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.659e-05/0.1924, allocations: 40.84 kB / 0.8434 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.1924, allocations: 0 / 0.8434 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.1924, allocations: 42.55 kB / 0.8434 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 9.31e-07/0.1924, allocations: 0 / 0.8434 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0005447/0.193, allocations: 186.3 kB / 0.8436 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.193, allocations: 51.41 kB / 0.8436 GB, free: 14 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.1932, allocations: 215.9 kB / 0.8438 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.1933, allocations: 29.7 kB / 0.8439 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.1934, allocations: 175.9 kB / 0.844 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.1934, allocations: 31.73 kB / 0.8441 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-05/0.1935, allocations: 37.72 kB / 0.8441 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1936, allocations: 322.8 kB / 0.8444 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.1937, allocations: 43.97 kB / 0.8444 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.1939, allocations: 113.2 kB / 0.8445 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.1941, allocations: 168.4 kB / 0.8447 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1941, allocations: 0 / 0.8447 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003912/0.1945, allocations: 222 kB / 0.8449 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1945, allocations: 4 kB / 0.8449 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1945, allocations: 4 kB / 0.8449 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001515/0.1947, allocations: 28.78 kB / 0.845 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.1948, allocations: 35.98 kB / 0.845 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.196, allocations: 1.322 MB / 0.8463 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.1961, allocations: 23.78 kB / 0.8463 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.1961, allocations: 8 kB / 0.8463 GB, free: 11.03 MB / 0.5919 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.0001428/0.1963, allocations: 149.4 kB / 0.8465 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.1963, allocations: 15.91 kB / 0.8465 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.383e-05/0.1963, allocations: 17.41 kB / 0.8465 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1963, allocations: 4 kB / 0.8465 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.1963, allocations: 64 / 0.8465 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1963, allocations: 7.984 kB / 0.8465 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006368/0.197, allocations: 462.3 kB / 0.8469 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.197, allocations: 0 / 0.8469 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.451e-05/0.197, allocations: 8 kB / 0.8469 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.691e-05/0.1971, allocations: 36.7 kB / 0.847 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1971, allocations: 3.938 kB / 0.847 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.1982, allocations: 1.327 MB / 0.8483 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1982, allocations: 0 / 0.8483 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.1985, allocations: 240.1 kB / 0.8485 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.24e-05/0.1986, allocations: 23.83 kB / 0.8485 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.1986, allocations: 4 kB / 0.8485 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.1987, allocations: 8.047 kB / 0.8485 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.1988, allocations: 11.98 kB / 0.8486 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.1988, allocations: 3.938 kB / 0.8486 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001408/0.1989, allocations: 155.4 kB / 0.8487 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1989, allocations: 0 / 0.8487 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003404/0.1992, allocations: 59.84 kB / 0.8488 GB, free: 8.32 MB / 0.5919 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.0006115/0.1999, allocations: 0.7606 MB / 0.8495 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004311/0.2003, allocations: 230.6 kB / 0.8497 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2003, allocations: 0.5625 kB / 0.8497 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.2005, allocations: 162.9 kB / 0.8499 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.2009, allocations: 40.28 kB / 0.8499 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.2034, allocations: 2.165 MB / 0.852 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.2038, allocations: 0.7515 MB / 0.8528 GB, free: 4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.928e-05/0.2039, allocations: 25.47 kB / 0.8528 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.533e-05/0.204, allocations: 59.41 kB / 0.8528 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.204, allocations: 0 / 0.8528 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.2312, allocations: 4.252 MB / 0.857 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.5, allocations: 18.89 kB / 0.857 GB, free: 15.82 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_DC_Sources_Examples_VoltageSource.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.767914327967446] Failed to read output from testmodel.py, exit status != 0: 11.68729805800831 11.708316419 11.517780427 Calling exit ...