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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7571/0.7571, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 176.8 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 221.3 MB / 441.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 92.64 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002057/0.002058, allocations: 268.4 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.269e-05/4.271e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4944/0.4945, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1312/0.6258, allocations: 107.8 MB / 0.8697 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.6261, allocations: 70.06 kB / 0.8697 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0004458/0.6266, allocations: 377.3 kB / 0.8701 GB, free: 256 kB / 0.5261 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6266, allocations: 0.5938 kB / 0.8701 GB, free: 256 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.6266, allocations: 0.7188 kB / 0.8701 GB, free: 256 kB / 0.5261 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.000259/0.6269, allocations: 313.7 kB / 0.8704 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.6269, allocations: 12.09 kB / 0.8704 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.768e-05/0.627, allocations: 30.56 kB / 0.8704 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.239e-05/0.627, allocations: 3.938 kB / 0.8704 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.6271, allocations: 159.1 kB / 0.8706 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.6272, allocations: 4.734 kB / 0.8706 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-06/0.6272, allocations: 0 / 0.8706 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.6273, allocations: 30.58 kB / 0.8706 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.6273, allocations: 0 / 0.8706 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.6273, allocations: 3.125 kB / 0.8706 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.6273, allocations: 0 / 0.8706 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.274e-05/0.6274, allocations: 3.938 kB / 0.8706 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.6275, allocations: 156.7 kB / 0.8708 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.769e-05/0.6276, allocations: 18.53 kB / 0.8708 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.564e-05/0.6276, allocations: 9.828 kB / 0.8708 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.6276, allocations: 0 / 0.8708 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.6277, allocations: 33.41 kB / 0.8708 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 2.174e-06/0.6277, allocations: 3.984 kB / 0.8708 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001144/0.6278, allocations: 33.64 kB / 0.8709 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.6278, allocations: 55.41 kB / 0.8709 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.037e-05/0.6279, allocations: 85 kB / 0.871 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.6279, allocations: 26.86 kB / 0.871 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.074e-05/0.6279, allocations: 80.14 kB / 0.8711 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.628, allocations: 7.984 kB / 0.8711 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-06/0.628, allocations: 3.375 kB / 0.8711 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.6281, allocations: 310.8 kB / 0.8714 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.165e-06/0.6281, allocations: 0 / 0.8714 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-06/0.6281, allocations: 0 / 0.8714 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.783e-05/0.6282, allocations: 7.938 kB / 0.8714 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6282, allocations: 0 / 0.8714 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.149e-05/0.6282, allocations: 37.73 kB / 0.8715 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.6283, allocations: 9.203 kB / 0.8715 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.6283, allocations: 0 / 0.8715 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.6283, allocations: 4 kB / 0.8715 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.263e-05/0.6284, allocations: 4 kB / 0.8715 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.6284, allocations: 0 / 0.8715 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.296e-06/0.6284, allocations: 0 / 0.8715 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.6284, allocations: 3.984 kB / 0.8715 GB, free: 14.63 MB / 0.5417 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 () * 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.247e-05/0.6285, allocations: 105 kB / 0.8716 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-06/0.6285, allocations: 0 / 0.8716 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.055e-05/0.6285, allocations: 11.11 kB / 0.8716 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.6285, allocations: 0 / 0.8716 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.6285, allocations: 0 / 0.8716 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.6285, allocations: 0 / 0.8716 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.433e-05/0.6286, allocations: 141.7 kB / 0.8717 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.6286, allocations: 15.92 kB / 0.8717 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.016e-06/0.6287, allocations: 0 / 0.8717 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.6287, allocations: 0 / 0.8717 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.6287, allocations: 0 / 0.8717 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.6287, allocations: 3.953 kB / 0.8717 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.6287, allocations: 0 / 0.8717 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.281e-05/0.6288, allocations: 65.08 kB / 0.8718 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.6288, allocations: 81.02 kB / 0.8719 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.6288, allocations: 3.984 kB / 0.8719 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.671e-06/0.6288, allocations: 0 / 0.8719 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.6289, allocations: 3.953 kB / 0.8719 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-06/0.6289, allocations: 4 kB / 0.8719 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.136e-05/0.6289, allocations: 79.31 kB / 0.872 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6289, allocations: 0 / 0.872 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001443/0.629, allocations: 0 / 0.872 GB, free: 14.04 MB / 0.5417 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 () * 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.0003261/0.6294, allocations: 0.5871 MB / 0.8725 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.121e-05/0.6294, allocations: 7.938 kB / 0.8725 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6295, allocations: 4.094 kB / 0.8725 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.976e-06/0.6295, allocations: 4 kB / 0.8726 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.752e-05/0.6296, allocations: 11.89 kB / 0.8726 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002534/0.6298, allocations: 70.91 kB / 0.8726 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.6301, allocations: 0.6731 MB / 0.8733 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.509e-05/0.6301, allocations: 4 kB / 0.8733 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.129e-05/0.6301, allocations: 7.438 kB / 0.8733 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of SimCode: time 3.91e-07/0.6302, allocations: 0 / 0.8733 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01071/0.6409, allocations: 0.6924 MB / 0.874 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/0.6411, allocations: 156.7 kB / 0.8741 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/2.208, allocations: 0 / 0.8741 GB, free: 11.79 MB / 0.5417 GB (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/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1)