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.001627/0.001627, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001745/0.001745, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.77 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.002574/0.002574, allocations: 276.1 kB / 312.7 MB, free: 2.602 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.5369 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="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.002911/0.002911, allocations: 99.56 kB / 0.7395 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1869, allocations: 95.39 MB / 0.8326 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.005456/0.1923, allocations: 3.189 MB / 0.8357 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002433/0.1948, allocations: 1.383 MB / 0.8371 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.1949, allocations: 7.938 kB / 0.8371 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.196, allocations: 336.7 kB / 0.8374 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.1963, allocations: 147.2 kB / 0.8376 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.1967, allocations: 167.5 kB / 0.8377 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003883/0.197, allocations: 330.9 kB / 0.838 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003845/0.1974, allocations: 200 kB / 0.8382 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.1977, allocations: 143.5 kB / 0.8384 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000259/0.1979, allocations: 151.4 kB / 0.8385 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.848e-05/0.198, allocations: 20 kB / 0.8385 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.1982, allocations: 155.7 kB / 0.8387 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.557e-05/0.1983, allocations: 83.73 kB / 0.8388 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.1984, allocations: 107.5 kB / 0.8389 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004689/0.1989, allocations: 374.6 kB / 0.8392 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1989, allocations: 0 / 0.8392 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1989, allocations: 0 / 0.8392 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.1989, allocations: 0 / 0.8392 GB, free: 1.539 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.0008327/0.1998, allocations: 481.4 kB / 0.8397 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1998, allocations: 9.344 kB / 0.8397 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.516e-05/0.1999, allocations: 54.73 kB / 0.8397 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006353/0.2005, allocations: 96.7 kB / 0.8398 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.2008, allocations: 203.8 kB / 0.84 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.2008, allocations: 12.81 kB / 0.84 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.2009, allocations: 20.38 kB / 0.8401 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005524/0.2014, allocations: 393.5 kB / 0.8404 GB, free: 196 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.2015, allocations: 7.984 kB / 0.8404 GB, free: 188 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.2015, allocations: 15.98 kB / 0.8405 GB, free: 172 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.67e-05/0.2015, allocations: 16.44 kB / 0.8405 GB, free: 152 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004029/0.2019, allocations: 213.6 kB / 0.8407 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.2034, allocations: 1.065 MB / 0.8417 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.2038, allocations: 118.5 kB / 0.8418 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.655e-05/0.2039, allocations: 40.83 kB / 0.8419 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.2039, allocations: 4 kB / 0.8419 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.204, allocations: 34.56 kB / 0.8419 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.204, allocations: 0 / 0.8419 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0005336/0.2045, allocations: 186.3 kB / 0.8421 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.2045, allocations: 55.41 kB / 0.8421 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.2048, allocations: 219.8 kB / 0.8423 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.2048, allocations: 29.7 kB / 0.8424 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.2049, allocations: 176 kB / 0.8425 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.2049, allocations: 27.75 kB / 0.8426 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.97e-05/0.205, allocations: 41.66 kB / 0.8426 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.2051, allocations: 322.8 kB / 0.8429 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.2052, allocations: 43.97 kB / 0.843 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.2054, allocations: 113.9 kB / 0.8431 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.2057, allocations: 172.3 kB / 0.8432 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2057, allocations: 4 kB / 0.8432 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003917/0.2061, allocations: 210.1 kB / 0.8434 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.2061, allocations: 7.984 kB / 0.8434 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.2061, allocations: 4 kB / 0.8434 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/0.2062, allocations: 33.06 kB / 0.8435 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.2064, allocations: 31.92 kB / 0.8435 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.2076, allocations: 1.322 MB / 0.8448 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.2077, allocations: 19.89 kB / 0.8448 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.2077, allocations: 11.94 kB / 0.8448 GB, free: 11.35 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.0001525/0.2079, allocations: 150.6 kB / 0.845 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.2079, allocations: 19.89 kB / 0.845 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.43e-05/0.2079, allocations: 17.41 kB / 0.845 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2079, allocations: 0 / 0.845 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.2079, allocations: 0 / 0.845 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.208, allocations: 4 kB / 0.845 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006495/0.2086, allocations: 446.2 kB / 0.8454 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2086, allocations: 96 / 0.8454 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.834e-05/0.2087, allocations: 19.92 kB / 0.8455 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.297e-05/0.2088, allocations: 28.84 kB / 0.8455 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.2088, allocations: 8 kB / 0.8455 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/0.2099, allocations: 1.319 MB / 0.8468 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2099, allocations: 0 / 0.8468 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.2102, allocations: 248.8 kB / 0.847 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.2103, allocations: 23.89 kB / 0.847 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.2103, allocations: 0 / 0.847 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.2104, allocations: 4 kB / 0.847 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.2105, allocations: 11.98 kB / 0.8471 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.2105, allocations: 0 / 0.8471 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001486/0.2106, allocations: 155.3 kB / 0.8472 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.2106, allocations: 0 / 0.8472 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003246/0.2109, allocations: 55.89 kB / 0.8473 GB, free: 8.664 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.0006513/0.2116, allocations: 0.766 MB / 0.848 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000442/0.212, allocations: 234.5 kB / 0.8482 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.212, allocations: 0 / 0.8482 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.2123, allocations: 163.1 kB / 0.8484 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.2126, allocations: 35.92 kB / 0.8484 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.2152, allocations: 2.153 MB / 0.8505 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.2154, allocations: 144.4 kB / 0.8507 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.2155, allocations: 33.45 kB / 0.8507 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.724e-05/0.2156, allocations: 63.36 kB / 0.8507 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of SimCode: time 4e-07/0.2156, allocations: 0 / 0.8507 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03309/0.2487, allocations: 4.712 MB / 0.8553 GB, free: 368 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.6, allocations: 7.547 kB / 0.8554 GB, free: 364 kB / 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.779812572989613] Failed to read output from testmodel.py, exit status != 0: 11.747348775155842 11.770650605 11.567505259 Calling exit ...