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.8135/0.8135, allocations: 128.7 MB / 143.7 MB, free: 2.34 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 194 kB / 173.7 MB, free: 6.137 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.793/1.793, allocations: 205.4 MB / 409 MB, free: 10.52 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.000986/0.000986, allocations: 96.08 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000443/0.000443, allocations: 7.844 kB / 0.5604 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1809, allocations: 76.78 MB / 0.6354 GB, free: 30.5 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.3209, allocations: 101.9 MB / 0.7349 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.3212, allocations: 71.95 kB / 0.735 GB, free: 8.418 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005292/0.3217, allocations: 380.9 kB / 0.7353 GB, free: 8.043 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.334e-06/0.3218, allocations: 0 / 0.7353 GB, free: 8.043 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.3218, allocations: 4 kB / 0.7353 GB, free: 8.039 MB / 0.5105 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.0002617/0.322, allocations: 319.4 kB / 0.7356 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.3221, allocations: 8.031 kB / 0.7356 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.378e-05/0.3221, allocations: 30.56 kB / 0.7357 GB, free: 7.633 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.471e-05/0.3222, allocations: 3.953 kB / 0.7357 GB, free: 7.629 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.891e-05/0.3223, allocations: 159.1 kB / 0.7358 GB, free: 7.434 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.3223, allocations: 0 / 0.7358 GB, free: 7.434 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.232e-06/0.3223, allocations: 0 / 0.7358 GB, free: 7.434 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.466e-05/0.3224, allocations: 33.7 kB / 0.7358 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.3224, allocations: 11.92 kB / 0.7359 GB, free: 7.383 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3224, allocations: 3.984 kB / 0.7359 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3225, allocations: 0 / 0.7359 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.999e-05/0.3225, allocations: 3.953 kB / 0.7359 GB, free: 7.375 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.3226, allocations: 145.7 kB / 0.736 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.764e-05/0.3227, allocations: 14.58 kB / 0.736 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.665e-06/0.3227, allocations: 0 / 0.736 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.3227, allocations: 42.66 kB / 0.7361 GB, free: 7.109 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.3227, allocations: 0 / 0.7361 GB, free: 7.109 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001282/0.3229, allocations: 37.62 kB / 0.7361 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.3229, allocations: 51.41 kB / 0.7361 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.285e-05/0.323, allocations: 85 kB / 0.7362 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.323, allocations: 25.7 kB / 0.7362 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.323, allocations: 80.14 kB / 0.7363 GB, free: 6.801 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.3231, allocations: 0 / 0.7363 GB, free: 6.801 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.774e-06/0.3231, allocations: 128 / 0.7363 GB, free: 6.801 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3232, allocations: 326.8 kB / 0.7366 GB, free: 6.473 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.335e-06/0.3232, allocations: 0 / 0.7366 GB, free: 6.473 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-06/0.3232, allocations: 0 / 0.7366 GB, free: 6.473 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.504e-05/0.3232, allocations: 0 / 0.7366 GB, free: 6.473 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3232, allocations: 0 / 0.7366 GB, free: 6.473 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.856e-05/0.3233, allocations: 41.55 kB / 0.7367 GB, free: 6.426 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3233, allocations: 7.984 kB / 0.7367 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3233, allocations: 0 / 0.7367 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3234, allocations: 4.094 kB / 0.7367 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.338e-05/0.3234, allocations: 7.938 kB / 0.7367 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3234, allocations: 0 / 0.7367 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.149e-05/0.3235, allocations: 288 / 0.7367 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.3235, allocations: 3.938 kB / 0.7367 GB, free: 6.402 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.392e-05/0.3236, allocations: 109.8 kB / 0.7368 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-06/0.3236, allocations: 4 kB / 0.7368 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/0.3236, allocations: 7.125 kB / 0.7368 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3236, allocations: 0 / 0.7368 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3236, allocations: 4 kB / 0.7368 GB, free: 6.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3236, allocations: 0 / 0.7368 GB, free: 6.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.845e-05/0.3237, allocations: 153.6 kB / 0.737 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3237, allocations: 4 kB / 0.737 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.402e-05/0.3237, allocations: 4 kB / 0.737 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3238, allocations: 0 / 0.737 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.3238, allocations: 0 / 0.737 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3238, allocations: 0 / 0.737 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3238, allocations: 0 / 0.737 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.624e-05/0.3239, allocations: 73.02 kB / 0.737 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.3239, allocations: 77.11 kB / 0.7371 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.3239, allocations: 0 / 0.7371 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-06/0.3239, allocations: 0 / 0.7371 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.038e-05/0.324, allocations: 0 / 0.7371 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.324, allocations: 0 / 0.7371 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.798e-05/0.324, allocations: 75.28 kB / 0.7372 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.324, allocations: 0 / 0.7372 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001931/0.3242, allocations: 4 kB / 0.7372 GB, free: 5.801 MB / 0.5105 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 (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.000327/0.3245, allocations: 0.6024 MB / 0.7378 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.523e-05/0.3246, allocations: 0 / 0.7378 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3246, allocations: 0 / 0.7378 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.845e-06/0.3246, allocations: 4 kB / 0.7378 GB, free: 5.164 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.82e-05/0.3247, allocations: 4.156 kB / 0.7378 GB, free: 5.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.325, allocations: 112.3 kB / 0.7379 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.3252, allocations: 0.6692 MB / 0.7385 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.348e-05/0.3252, allocations: 0 / 0.7385 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.3253, allocations: 7.438 kB / 0.7386 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of SimCode: time 4.21e-07/0.3253, allocations: 4 kB / 0.7386 GB, free: 4.301 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01099/0.3363, allocations: 0.698 MB / 0.7392 GB, free: 3.73 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/0.3365, allocations: 182.8 kB / 0.7394 GB, free: 3.484 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.435/1.772, allocations: 0 / 0.7394 GB, free: 3.484 MB / 0.5105 GB (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)