Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.359/1.359, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 166.7 kB / 325.8 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205 MB / 0.576 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007093/0.0007094, allocations: 90.03 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002891/0.0002893, allocations: 12.69 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1474, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.0009973/0.1485, allocations: 0.9511 MB / 0.8971 GB, free: 67.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002021/0.1487, allocations: 51.81 kB / 0.8972 GB, free: 67.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.519e-05/0.1487, allocations: 3.938 kB / 0.8972 GB, free: 67.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/0.1487, allocations: 3.984 kB / 0.8972 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.1489, allocations: 11.94 kB / 0.8972 GB, free: 67.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 9.559e-05/0.149, allocations: 3.984 kB / 0.8972 GB, free: 67.06 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.198e-05/0.149, allocations: 43.89 kB / 0.8972 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.127e-05/0.1491, allocations: 0 / 0.8972 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.148e-05/0.1491, allocations: 7.938 kB / 0.8972 GB, free: 67.01 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.624e-05/0.1492, allocations: 17.48 kB / 0.8973 GB, free: 66.99 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.1492, allocations: 0 / 0.8973 GB, free: 66.99 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.971e-05/0.1492, allocations: 11.98 kB / 0.8973 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.576e-05/0.1493, allocations: 52.38 kB / 0.8973 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.1493, allocations: 35.75 kB / 0.8974 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.019e-05/0.1494, allocations: 71.88 kB / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1494, allocations: 4 kB / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1494, allocations: 0 / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.277e-06/0.1494, allocations: 0 / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000243/0.1497, allocations: 406.9 kB / 0.8978 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.1497, allocations: 8.031 kB / 0.8978 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.181e-05/0.1497, allocations: 110 kB / 0.8979 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.1498, allocations: 92.03 kB / 0.898 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.084e-05/0.1499, allocations: 262.7 kB / 0.8983 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.1499, allocations: 158.5 kB / 0.8984 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.15, allocations: 150.6 kB / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.029e-05/0.15, allocations: 101.8 kB / 0.8987 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.15, allocations: 75.28 kB / 0.8987 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.15, allocations: 150.6 kB / 0.8989 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.15, allocations: 158.6 kB / 0.899 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.032e-05/0.1501, allocations: 162.5 kB / 0.8992 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.1503, allocations: 0.4899 MB / 0.8997 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.41e-05/0.1503, allocations: 169.1 kB / 0.8998 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.602e-05/0.1503, allocations: 92.19 kB / 0.8999 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.1503, allocations: 79.22 kB / 0.9 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.1504, allocations: 105.8 kB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.1504, allocations: 0 / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 5.985e-05/0.1504, allocations: 41.45 kB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.1505, allocations: 126.7 kB / 0.9003 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.1506, allocations: 235 kB / 0.9005 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.963e-06/0.1506, allocations: 25.7 kB / 0.9005 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/0.1507, allocations: 112 kB / 0.9006 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.1507, allocations: 4 kB / 0.9006 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.1507, allocations: 25.7 kB / 0.9006 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.068e-05/0.1507, allocations: 334.8 kB / 0.901 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.656e-05/0.1508, allocations: 51.97 kB / 0.901 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.922e-05/0.1509, allocations: 63.14 kB / 0.9011 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.151, allocations: 128.8 kB / 0.9012 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.151, allocations: 4.031 kB / 0.9012 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002105/0.1512, allocations: 173.4 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.1512, allocations: 8 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1512, allocations: 7.922 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/0.1512, allocations: 0 / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.1513, allocations: 0 / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.1513, allocations: 0 / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.821e-05/0.1513, allocations: 19.69 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.1513, allocations: 4 kB / 0.9014 GB, free: 62.52 MB / 0.6042 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): 0 * Array equations: 1 * 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 6.028e-05/0.1514, allocations: 209.1 kB / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.1514, allocations: 112.8 kB / 0.9017 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.242e-05/0.1515, allocations: 113.5 kB / 0.9018 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/0.1515, allocations: 184.2 kB / 0.902 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.089e-05/0.1515, allocations: 184.2 kB / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.1515, allocations: 180.2 kB / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.1516, allocations: 437.2 kB / 0.9027 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/0.1517, allocations: 108.9 kB / 0.9029 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.138e-05/0.1517, allocations: 101 kB / 0.9029 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.96e-05/0.1517, allocations: 181.1 kB / 0.9031 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.1517, allocations: 180.3 kB / 0.9033 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.969e-05/0.1518, allocations: 180.3 kB / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.009e-05/0.1518, allocations: 188.2 kB / 0.9036 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.398e-05/0.1518, allocations: 319.5 kB / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.1519, allocations: 190.2 kB / 0.9041 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.1519, allocations: 184.2 kB / 0.9043 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.325e-05/0.152, allocations: 108.9 kB / 0.9044 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.377e-05/0.152, allocations: 184.3 kB / 0.9046 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.152, allocations: 108.9 kB / 0.9047 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.646e-05/0.1521, allocations: 160.6 kB / 0.9048 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1521, allocations: 0 / 0.9048 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001987/0.1523, allocations: 20 kB / 0.9049 GB, free: 58.73 MB / 0.6042 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 (0): * Single equations (assignments): 0 * 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.0001905/0.1525, allocations: 0.8242 MB / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.236e-05/0.1526, allocations: 79.91 kB / 0.9057 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.1526, allocations: 0 / 0.9057 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.1526, allocations: 0 / 0.9057 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.1529, allocations: 0.5338 MB / 0.9063 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.1542, allocations: 2.124 MB / 0.9083 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.1543, allocations: 0.7082 MB / 0.909 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.532e-05/0.1543, allocations: 7.984 kB / 0.909 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.1543, allocations: 35.42 kB / 0.9091 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of SimCode: time 2.9e-07/0.1543, allocations: 3.938 kB / 0.9091 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2317/0.386, allocations: 2.545 MB / 0.9116 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001468/0.3862, allocations: 227.6 kB / 0.9118 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.556/1.942, allocations: 6.125 kB / 0.9118 GB, free: 51.64 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)