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.001321/0.001321, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002241/0.002241, allocations: 221.1 kB / 23.03 MB, free: 4.945 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.002535/0.002535, allocations: 296.5 kB / 313.5 MB, free: 2.633 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.226/1.226, allocations: 180.6 MB / 0.5377 GB, free: 14.5 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.002858/0.002858, allocations: 103.1 kB / 0.7402 GB, free: 27.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1797, allocations: 95.38 MB / 0.8334 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.005172/0.1848, allocations: 3.189 MB / 0.8365 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002411/0.1872, allocations: 1.379 MB / 0.8378 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.1874, allocations: 7.938 kB / 0.8379 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.1884, allocations: 334.8 kB / 0.8382 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.1888, allocations: 155.2 kB / 0.8383 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004131/0.1892, allocations: 153.1 kB / 0.8385 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003952/0.1896, allocations: 338.8 kB / 0.8388 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003927/0.19, allocations: 196.1 kB / 0.839 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002621/0.1902, allocations: 151.5 kB / 0.8391 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.1905, allocations: 151.4 kB / 0.8393 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/0.1905, allocations: 24 kB / 0.8393 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002934/0.1908, allocations: 159.6 kB / 0.8394 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.191, allocations: 87.72 kB / 0.8395 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.1911, allocations: 103.5 kB / 0.8396 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004938/0.1916, allocations: 370.7 kB / 0.84 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1916, allocations: 0 / 0.84 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1916, allocations: 0 / 0.84 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.1916, allocations: 0 / 0.84 GB, free: 1.629 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.0009562/0.1925, allocations: 489.3 kB / 0.8404 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1926, allocations: 13.34 kB / 0.8405 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.142e-05/0.1926, allocations: 4.625 kB / 0.8405 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.902e-05/0.1927, allocations: 62.66 kB / 0.8405 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006695/0.1933, allocations: 80.72 kB / 0.8406 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.1937, allocations: 207.5 kB / 0.8408 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.1937, allocations: 20.81 kB / 0.8408 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.1937, allocations: 16.38 kB / 0.8408 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006242/0.1944, allocations: 401.3 kB / 0.8412 GB, free: 260 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1944, allocations: 0 / 0.8412 GB, free: 260 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.1944, allocations: 8 kB / 0.8412 GB, free: 252 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.598e-05/0.1944, allocations: 16.42 kB / 0.8412 GB, free: 236 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003865/0.1948, allocations: 217.5 kB / 0.8414 GB, free: 20 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.1964, allocations: 1.073 MB / 0.8425 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004204/0.1968, allocations: 114.5 kB / 0.8426 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.1969, allocations: 44.83 kB / 0.8426 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.1969, allocations: 4 kB / 0.8427 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.197, allocations: 34.56 kB / 0.8427 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/0.197, allocations: 0 / 0.8427 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0005623/0.1975, allocations: 182.3 kB / 0.8429 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.1976, allocations: 55.41 kB / 0.8429 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.1978, allocations: 211.9 kB / 0.8431 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.1978, allocations: 25.7 kB / 0.8431 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.198, allocations: 183.9 kB / 0.8433 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.198, allocations: 35.73 kB / 0.8433 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-05/0.1981, allocations: 37.7 kB / 0.8434 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1982, allocations: 326.8 kB / 0.8437 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.1983, allocations: 43.97 kB / 0.8437 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.1985, allocations: 114.8 kB / 0.8438 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.1988, allocations: 168.4 kB / 0.844 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1988, allocations: 0 / 0.844 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000415/0.1992, allocations: 206.4 kB / 0.8442 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.1992, allocations: 12 kB / 0.8442 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1992, allocations: 0 / 0.8442 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002009/0.1994, allocations: 36.77 kB / 0.8442 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.1996, allocations: 35.92 kB / 0.8443 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.201, allocations: 1.31 MB / 0.8456 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.2011, allocations: 31.94 kB / 0.8456 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.2011, allocations: 7.938 kB / 0.8456 GB, free: 11.43 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.0002141/0.2014, allocations: 154.4 kB / 0.8457 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.136e-05/0.2014, allocations: 15.91 kB / 0.8458 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/0.2014, allocations: 21.39 kB / 0.8458 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2014, allocations: 0 / 0.8458 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.2014, allocations: 0 / 0.8458 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2015, allocations: 0 / 0.8458 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007338/0.2022, allocations: 450.4 kB / 0.8462 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.2022, allocations: 4.062 kB / 0.8462 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.2023, allocations: 19.91 kB / 0.8462 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.162e-05/0.2024, allocations: 24.84 kB / 0.8463 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.2024, allocations: 3.938 kB / 0.8463 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/0.2036, allocations: 1.319 MB / 0.8476 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2036, allocations: 0 / 0.8476 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.2039, allocations: 232.2 kB / 0.8478 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-05/0.2039, allocations: 27.83 kB / 0.8478 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.204, allocations: 4 kB / 0.8478 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.2041, allocations: 8 kB / 0.8478 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.2041, allocations: 7.922 kB / 0.8478 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.2041, allocations: 7.938 kB / 0.8478 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001351/0.2043, allocations: 151.5 kB / 0.848 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.2043, allocations: 0 / 0.848 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003661/0.2046, allocations: 59.84 kB / 0.848 GB, free: 8.742 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.0006416/0.2053, allocations: 0.7717 MB / 0.8488 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004772/0.2058, allocations: 219.7 kB / 0.849 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.2058, allocations: 8.062 kB / 0.849 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002262/0.206, allocations: 162.5 kB / 0.8492 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.2064, allocations: 42.08 kB / 0.8492 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.209, allocations: 2.161 MB / 0.8513 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.2092, allocations: 156.1 kB / 0.8515 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001092/0.2093, allocations: 25.45 kB / 0.8515 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.472e-05/0.2094, allocations: 59.42 kB / 0.8515 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of SimCode: time 8.01e-07/0.2094, allocations: 0 / 0.8515 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02788/0.2372, allocations: 4.394 MB / 0.8558 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.69, allocations: 3.312 kB / 0.8558 GB, free: 0.7539 MB / 0.5919 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.931007148930803] Failed to read output from testmodel.py, exit status != 0: 11.848955804016441 11.865107609 11.670498098 Calling exit ...