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.001302/0.001302, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001567/0.001567, allocations: 216.5 kB / 22.26 MB, free: 5.117 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.397/1.397, allocations: 230.6 MB / 256 MB, free: 7.992 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.002497/0.002497, allocations: 296.1 kB / 312.7 MB, free: 2.797 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.194/1.194, allocations: 180.6 MB / 0.5369 GB, free: 13.05 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",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.004523/0.004523, allocations: 104 kB / 0.7396 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1747, allocations: 95.39 MB / 0.8327 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.005541/0.1803, allocations: 3.327 MB / 0.836 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002526/0.1828, allocations: 1.496 MB / 0.8374 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.183, allocations: 7.938 kB / 0.8374 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.1841, allocations: 350.6 kB / 0.8378 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004289/0.1846, allocations: 155.2 kB / 0.8379 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.185, allocations: 154.1 kB / 0.8381 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004792/0.1855, allocations: 334.8 kB / 0.8384 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004131/0.1859, allocations: 200 kB / 0.8386 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/0.1862, allocations: 143.5 kB / 0.8387 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003344/0.1865, allocations: 155.4 kB / 0.8389 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.1866, allocations: 20 kB / 0.8389 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003479/0.1869, allocations: 187.5 kB / 0.8391 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.187, allocations: 87.73 kB / 0.8391 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.1872, allocations: 123.4 kB / 0.8393 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005354/0.1877, allocations: 362.6 kB / 0.8396 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1877, allocations: 3.984 kB / 0.8396 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1877, allocations: 0 / 0.8396 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.946e-06/0.1877, allocations: 0 / 0.8396 GB, free: 1.559 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.0009263/0.1886, allocations: 489.3 kB / 0.8401 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1887, allocations: 13.34 kB / 0.8401 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.641e-05/0.1887, allocations: 58.72 kB / 0.8401 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006678/0.1894, allocations: 84.72 kB / 0.8402 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.1898, allocations: 207.5 kB / 0.8404 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1898, allocations: 12.81 kB / 0.8404 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.1898, allocations: 24.38 kB / 0.8405 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005115/0.1903, allocations: 308.4 kB / 0.8408 GB, free: 308 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1903, allocations: 4 kB / 0.8408 GB, free: 304 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.1904, allocations: 7.984 kB / 0.8408 GB, free: 296 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.056e-05/0.1904, allocations: 24.42 kB / 0.8408 GB, free: 268 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003859/0.1908, allocations: 217.5 kB / 0.841 GB, free: 52 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.1925, allocations: 1.459 MB / 0.8424 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003889/0.1929, allocations: 122.6 kB / 0.8425 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.372e-05/0.193, allocations: 44.83 kB / 0.8426 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.193, allocations: 11.97 kB / 0.8426 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.193, allocations: 30.56 kB / 0.8426 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.193, allocations: 0 / 0.8426 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0005463/0.1936, allocations: 182.3 kB / 0.8428 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.1936, allocations: 55.41 kB / 0.8428 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.1938, allocations: 211.9 kB / 0.8431 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.1938, allocations: 29.7 kB / 0.8431 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.194, allocations: 179.9 kB / 0.8433 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.194, allocations: 31.73 kB / 0.8433 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.248e-05/0.1941, allocations: 33.72 kB / 0.8433 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1942, allocations: 330.8 kB / 0.8436 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.1943, allocations: 47.97 kB / 0.8437 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.1945, allocations: 105.2 kB / 0.8438 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.1947, allocations: 176.3 kB / 0.8439 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1947, allocations: 4 kB / 0.8439 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000392/0.1951, allocations: 210.1 kB / 0.8441 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1951, allocations: 8 kB / 0.8442 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1951, allocations: 288 / 0.8442 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001621/0.1953, allocations: 36.78 kB / 0.8442 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.1954, allocations: 31.92 kB / 0.8442 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.1966, allocations: 1.314 MB / 0.8455 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.1967, allocations: 27.78 kB / 0.8455 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.1967, allocations: 7.984 kB / 0.8455 GB, free: 10.97 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.0001497/0.1969, allocations: 158.5 kB / 0.8457 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.1969, allocations: 15.91 kB / 0.8457 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.197, allocations: 21.39 kB / 0.8457 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.197, allocations: 0 / 0.8457 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.197, allocations: 0 / 0.8457 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.197, allocations: 0 / 0.8457 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006284/0.1976, allocations: 454.3 kB / 0.8462 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1976, allocations: 0 / 0.8462 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.577e-05/0.1977, allocations: 11.98 kB / 0.8462 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-05/0.1977, allocations: 32.78 kB / 0.8462 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1977, allocations: 4.062 kB / 0.8462 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/0.1988, allocations: 1.339 MB / 0.8475 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1988, allocations: 0 / 0.8475 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.1991, allocations: 236.3 kB / 0.8477 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.098e-05/0.1992, allocations: 23.84 kB / 0.8478 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.1992, allocations: 3.984 kB / 0.8478 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.1993, allocations: 12 kB / 0.8478 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.1994, allocations: 3.984 kB / 0.8478 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.1994, allocations: 4 kB / 0.8478 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001404/0.1995, allocations: 151.3 kB / 0.8479 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1995, allocations: 0 / 0.8479 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003447/0.1999, allocations: 59.84 kB / 0.848 GB, free: 8.27 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.0006156/0.2005, allocations: 0.7646 MB / 0.8487 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004401/0.2009, allocations: 242.7 kB / 0.849 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2009, allocations: 0 / 0.849 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.2012, allocations: 154.7 kB / 0.8491 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.2015, allocations: 38.14 kB / 0.8491 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.2041, allocations: 2.161 MB / 0.8513 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.2045, allocations: 0.7593 MB / 0.852 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.451e-05/0.2046, allocations: 17.48 kB / 0.852 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.858e-05/0.2047, allocations: 63.41 kB / 0.8521 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.2047, allocations: 0 / 0.8521 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04111/0.2458, allocations: 4.22 MB / 0.8562 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.15, allocations: 15.56 kB / 0.8562 GB, free: 15.79 MB / 0.6075 GB " [Timeout remaining time 649] (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.206831123912707] Failed to read output from testmodel.py, exit status != 0: 11.268423360073939 11.283686957 11.09292204 Calling exit ...