Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.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.001281/0.001281, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001459/0.001459, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.435/1.435, allocations: 230.6 MB / 256.8 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.00246/0.00246, allocations: 285.3 kB / 313.5 MB, free: 2.812 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.223/1.223, allocations: 180.6 MB / 0.5377 GB, free: 13.02 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.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",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: 95.17 kB / 0.7403 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.181, allocations: 95.38 MB / 0.8335 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001948/0.1829, allocations: 0.6036 MB / 0.8341 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 4.675e-05/0.183, allocations: 7.984 kB / 0.8341 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.102e-05/0.183, allocations: 0 / 0.8341 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.7e-05/0.183, allocations: 4 kB / 0.8341 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.652e-06/0.1831, allocations: 0 / 0.8341 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.628e-05/0.1831, allocations: 0 / 0.8341 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.714e-05/0.1831, allocations: 8 kB / 0.8341 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.1832, allocations: 4.406 kB / 0.8341 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.317e-05/0.1832, allocations: 0 / 0.8341 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.098e-05/0.1832, allocations: 3.938 kB / 0.8341 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.1832, allocations: 3.938 kB / 0.8341 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.156e-06/0.1832, allocations: 0 / 0.8341 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.1833, allocations: 0 / 0.8341 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.808e-05/0.1833, allocations: 0 / 0.8341 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 5.365e-05/0.1833, allocations: 7.938 kB / 0.8341 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.1833, allocations: 4 kB / 0.8341 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.784e-06/0.1833, allocations: 0 / 0.8341 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.1833, allocations: 0 / 0.8341 GB, free: 8.012 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002608/0.1836, allocations: 234.7 kB / 0.8343 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.1837, allocations: 13.38 kB / 0.8343 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.208e-05/0.1837, allocations: 192 / 0.8343 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/0.1837, allocations: 30.75 kB / 0.8344 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.094e-05/0.1837, allocations: 0.9375 kB / 0.8344 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.371e-05/0.1838, allocations: 118.5 kB / 0.8345 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.1838, allocations: 384 / 0.8345 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.1838, allocations: 384 / 0.8345 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.756e-05/0.1839, allocations: 30.02 kB / 0.8345 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1839, allocations: 3.984 kB / 0.8345 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-06/0.1839, allocations: 0 / 0.8345 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1839, allocations: 4 kB / 0.8345 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.615e-05/0.184, allocations: 3.938 kB / 0.8345 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.1841, allocations: 116.8 kB / 0.8346 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.504e-05/0.1841, allocations: 22.61 kB / 0.8346 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.168e-05/0.1842, allocations: 4.859 kB / 0.8347 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.1842, allocations: 3.984 kB / 0.8347 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.1842, allocations: 42.56 kB / 0.8347 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.1842, allocations: 3.938 kB / 0.8347 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001284/0.1843, allocations: 37.62 kB / 0.8347 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.1844, allocations: 55.53 kB / 0.8348 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.222e-05/0.1844, allocations: 89.86 kB / 0.8349 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1844, allocations: 25.7 kB / 0.8349 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.1845, allocations: 80.14 kB / 0.835 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.1845, allocations: 0 / 0.835 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.1845, allocations: 17.72 kB / 0.835 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1847, allocations: 310.8 kB / 0.8353 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-06/0.1847, allocations: 0 / 0.8353 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.212e-06/0.1847, allocations: 8 kB / 0.8353 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.336e-05/0.1847, allocations: 4.859 kB / 0.8353 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1847, allocations: 0 / 0.8353 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.26e-05/0.1848, allocations: 41.62 kB / 0.8353 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1848, allocations: 10.44 kB / 0.8354 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.1848, allocations: 0 / 0.8354 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1848, allocations: 3.938 kB / 0.8354 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.193e-05/0.1849, allocations: 4 kB / 0.8354 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.1849, allocations: 8 kB / 0.8354 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.027e-06/0.1849, allocations: 4.094 kB / 0.8354 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-06/0.1849, allocations: 0 / 0.8354 GB, free: 6.512 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.791e-05/0.185, allocations: 106.5 kB / 0.8355 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-06/0.185, allocations: 3.938 kB / 0.8355 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.67e-05/0.185, allocations: 6.984 kB / 0.8355 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.185, allocations: 4 kB / 0.8355 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.185, allocations: 0 / 0.8355 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.185, allocations: 0 / 0.8355 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.553e-05/0.1851, allocations: 116.8 kB / 0.8356 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1851, allocations: 4 kB / 0.8356 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.145e-05/0.1851, allocations: 4 kB / 0.8356 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1851, allocations: 3.938 kB / 0.8356 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-06/0.1851, allocations: 0 / 0.8356 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.1851, allocations: 0 / 0.8356 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1851, allocations: 0 / 0.8356 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.198e-05/0.1852, allocations: 65.06 kB / 0.8357 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-06/0.1852, allocations: 0 / 0.8357 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.1852, allocations: 11.91 kB / 0.8357 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-06/0.1852, allocations: 0 / 0.8357 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.1852, allocations: 0 / 0.8357 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-06/0.1852, allocations: 0 / 0.8357 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.18e-05/0.1852, allocations: 75.28 kB / 0.8358 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1852, allocations: 4 kB / 0.8358 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001769/0.1854, allocations: 4 kB / 0.8358 GB, free: 6.039 MB / 0.5762 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003831/0.1858, allocations: 0.5928 MB / 0.8363 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.237e-05/0.1859, allocations: 4 kB / 0.8363 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1859, allocations: 0 / 0.8363 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.174e-06/0.1859, allocations: 4 kB / 0.8364 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.186, allocations: 3.984 kB / 0.8364 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/0.1863, allocations: 106.8 kB / 0.8365 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.1866, allocations: 0.6729 MB / 0.8371 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.067e-06/0.1866, allocations: 0 / 0.8371 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/0.1866, allocations: 7.438 kB / 0.8371 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1866, allocations: 0 / 0.8371 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02047/0.2071, allocations: 1.04 MB / 0.8381 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.14, allocations: 16.55 kB / 0.8382 GB, free: 3.645 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.372926532989368] Failed to read output from testmodel.py, exit status != 0: 11.294292288948782 11.311763106 11.125166301 Calling exit ...