Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7031/0.7031, allocations: 127.3 MB / 139.8 MB, free: 15.47 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001214, allocations: 176.8 kB / 169.7 MB, free: 1.75 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.1 MB / 404.5 MB, free: 1.562 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009272/0.0009272, allocations: 96.95 kB / 481.8 MB, free: 4.215 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.679e-05/2.687e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1454, allocations: 76.75 MB / 0.6282 GB, free: 9.926 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4607/0.6061, allocations: 101.8 MB / 0.7276 GB, free: 11.58 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.6064, allocations: 69.45 kB / 0.7277 GB, free: 11.54 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0005821/0.607, allocations: 380.2 kB / 0.7281 GB, free: 11.18 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.6071, allocations: 0 / 0.7281 GB, free: 11.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.6071, allocations: 0 / 0.7281 GB, free: 11.18 MB / 490.7 MB 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.0002566/0.6073, allocations: 311.4 kB / 0.7284 GB, free: 10.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.6074, allocations: 12.09 kB / 0.7284 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.121e-05/0.6075, allocations: 30.56 kB / 0.7284 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.6075, allocations: 7.078 kB / 0.7284 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.6076, allocations: 159.1 kB / 0.7286 GB, free: 10.58 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.6076, allocations: 0 / 0.7286 GB, free: 10.58 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-06/0.6077, allocations: 0.9375 kB / 0.7286 GB, free: 10.58 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.655e-05/0.6078, allocations: 33.69 kB / 0.7286 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.6078, allocations: 4 kB / 0.7286 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.6078, allocations: 0 / 0.7286 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.6078, allocations: 0 / 0.7286 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.483e-05/0.6079, allocations: 11.12 kB / 0.7286 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.608, allocations: 145.7 kB / 0.7288 GB, free: 10.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.226e-05/0.6081, allocations: 18.52 kB / 0.7288 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.069e-05/0.6081, allocations: 12.45 kB / 0.7288 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.6082, allocations: 4 kB / 0.7288 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.6082, allocations: 31.22 kB / 0.7288 GB, free: 10.26 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.483e-06/0.6082, allocations: 3.938 kB / 0.7288 GB, free: 10.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001201/0.6083, allocations: 29.7 kB / 0.7288 GB, free: 10.22 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.6084, allocations: 59.33 kB / 0.7289 GB, free: 10.15 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.716e-05/0.6084, allocations: 85 kB / 0.729 GB, free: 10.06 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.6085, allocations: 25.7 kB / 0.729 GB, free: 10.03 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.759e-05/0.6085, allocations: 86.36 kB / 0.7291 GB, free: 9.941 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.6086, allocations: 7.625 kB / 0.7291 GB, free: 9.938 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-06/0.6086, allocations: 0 / 0.7291 GB, free: 9.938 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.6087, allocations: 314.8 kB / 0.7294 GB, free: 9.621 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.6087, allocations: 0 / 0.7294 GB, free: 9.621 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-06/0.6087, allocations: 0 / 0.7294 GB, free: 9.621 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.15e-05/0.6088, allocations: 4 kB / 0.7294 GB, free: 9.617 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6088, allocations: 0 / 0.7294 GB, free: 9.617 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.255e-05/0.6089, allocations: 29.7 kB / 0.7294 GB, free: 9.582 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.6089, allocations: 8.094 kB / 0.7294 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.6089, allocations: 0 / 0.7294 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.6089, allocations: 4 kB / 0.7294 GB, free: 9.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.002e-05/0.609, allocations: 3.984 kB / 0.7294 GB, free: 9.566 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.609, allocations: 3.938 kB / 0.7295 GB, free: 9.562 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.505e-05/0.609, allocations: 2.391 kB / 0.7295 GB, free: 9.562 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.6091, allocations: 0 / 0.7295 GB, free: 9.562 MB / 490.7 MB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.726e-05/0.6091, allocations: 112.8 kB / 0.7296 GB, free: 9.449 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-06/0.6092, allocations: 0 / 0.7296 GB, free: 9.449 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.789e-05/0.6092, allocations: 7.125 kB / 0.7296 GB, free: 9.445 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.6092, allocations: 0 / 0.7296 GB, free: 9.445 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6092, allocations: 3.938 kB / 0.7296 GB, free: 9.441 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.6092, allocations: 0 / 0.7296 GB, free: 9.441 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.6093, allocations: 154.4 kB / 0.7297 GB, free: 9.242 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6094, allocations: 0 / 0.7297 GB, free: 9.242 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.36e-05/0.6094, allocations: 0 / 0.7297 GB, free: 9.242 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.6094, allocations: 0 / 0.7297 GB, free: 9.242 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.6094, allocations: 3.812 kB / 0.7297 GB, free: 9.242 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.6094, allocations: 0 / 0.7297 GB, free: 9.242 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6094, allocations: 0 / 0.7297 GB, free: 9.242 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.848e-05/0.6095, allocations: 64.91 kB / 0.7298 GB, free: 9.164 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/0.6096, allocations: 81.09 kB / 0.7299 GB, free: 9.066 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.6096, allocations: 0 / 0.7299 GB, free: 9.066 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.036e-05/0.6096, allocations: 3.938 kB / 0.7299 GB, free: 9.062 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.6096, allocations: 4 kB / 0.7299 GB, free: 9.059 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-06/0.6096, allocations: 0 / 0.7299 GB, free: 9.059 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.429e-05/0.6097, allocations: 75.28 kB / 0.7299 GB, free: 8.984 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6097, allocations: 4.031 kB / 0.7299 GB, free: 8.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002985/0.61, allocations: 3.938 kB / 0.7299 GB, free: 8.977 MB / 490.7 MB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003697/0.6104, allocations: 0.5952 MB / 0.7305 GB, free: 8.359 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.037e-05/0.6105, allocations: 4 kB / 0.7305 GB, free: 8.355 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6105, allocations: 8.031 kB / 0.7305 GB, free: 8.348 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.917e-06/0.6105, allocations: 3.688 kB / 0.7305 GB, free: 8.348 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.6106, allocations: 4 kB / 0.7305 GB, free: 8.344 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.611, allocations: 67.22 kB / 0.7306 GB, free: 8.242 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.6112, allocations: 0.6731 MB / 0.7313 GB, free: 7.543 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.792e-05/0.6113, allocations: 0 / 0.7313 GB, free: 7.543 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.072e-05/0.6113, allocations: 15.38 kB / 0.7313 GB, free: 7.527 MB / 490.7 MB Notification: Performance of SimCode: time 3.91e-07/0.6113, allocations: 0 / 0.7313 GB, free: 7.527 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01319/0.6245, allocations: 0.6948 MB / 0.732 GB, free: 6.949 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002502/0.6248, allocations: 162.5 kB / 0.7321 GB, free: 6.715 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.444/2.069, allocations: 0 / 0.7321 GB, free: 6.715 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_ModelTime.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1)