Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.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.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",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.408/1.408, allocations: 252 MB / 267.3 MB, free: 10.84 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.000951/0.0009509, allocations: 175.5 kB / 327 MB, free: 2.074 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.849/1.849, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.001218/0.001218, allocations: 90.41 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004055/0.0004056, allocations: 15.44 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2892, allocations: 106.3 MB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.002301/0.2915, allocations: 1.328 MB / 0.9022 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005304/0.2921, allocations: 192.3 kB / 0.9024 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.378e-05/0.2922, allocations: 3.938 kB / 0.9024 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.2924, allocations: 15.92 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.2925, allocations: 23.78 kB / 0.9025 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.2927, allocations: 39.95 kB / 0.9025 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.2929, allocations: 131.5 kB / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.2932, allocations: 49.34 kB / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.462e-05/0.2933, allocations: 39.84 kB / 0.9027 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.2934, allocations: 79.59 kB / 0.9028 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.969e-05/0.2935, allocations: 8 kB / 0.9028 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.425e-05/0.2935, allocations: 4 kB / 0.9028 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.267e-05/0.2936, allocations: 39.84 kB / 0.9028 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.966e-05/0.2937, allocations: 81.3 kB / 0.9029 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.2939, allocations: 151.4 kB / 0.9031 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2939, allocations: 0 / 0.9031 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.805e-06/0.294, allocations: 0 / 0.9031 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.294, allocations: 0 / 0.9031 GB, free: 61.01 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001135/0.2951, allocations: 0.5108 MB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.2952, allocations: 12.03 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.229e-05/0.2952, allocations: 38.73 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.2953, allocations: 16.75 kB / 0.9036 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.2955, allocations: 219.9 kB / 0.9038 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.2956, allocations: 8.375 kB / 0.9038 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.2956, allocations: 12.3 kB / 0.9038 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008038/0.2964, allocations: 212.3 kB / 0.9041 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.2965, allocations: 7.938 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.2965, allocations: 0 / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.2965, allocations: 4 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.2977, allocations: 271.8 kB / 0.9043 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.299, allocations: 0.5355 MB / 0.9048 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006676/0.2997, allocations: 182.4 kB / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005821/0.3003, allocations: 140.7 kB / 0.9052 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.3003, allocations: 4 kB / 0.9052 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.3004, allocations: 34.56 kB / 0.9052 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.3004, allocations: 0 / 0.9052 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.00185/0.3023, allocations: 445.3 kB / 0.9056 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.3023, allocations: 59.34 kB / 0.9057 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.3025, allocations: 182.2 kB / 0.9058 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.3025, allocations: 25.7 kB / 0.9059 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.894e-05/0.3026, allocations: 124.3 kB / 0.906 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.3027, allocations: 35.53 kB / 0.906 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.468e-05/0.3027, allocations: 4 kB / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.374e-05/0.3028, allocations: 322.8 kB / 0.9063 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005612/0.3034, allocations: 131.8 kB / 0.9065 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005357/0.3039, allocations: 135.9 kB / 0.9066 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.305, allocations: 272.6 kB / 0.9068 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3051, allocations: 0 / 0.9068 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001181/0.3062, allocations: 313.2 kB / 0.9071 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.3063, allocations: 12 kB / 0.9072 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3063, allocations: 0 / 0.9072 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.3063, allocations: 0 / 0.9072 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004301/0.3068, allocations: 51.95 kB / 0.9072 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.3068, allocations: 11.92 kB / 0.9072 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002962/0.3071, allocations: 47.95 kB / 0.9073 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.3071, allocations: 4 kB / 0.9073 GB, free: 56.46 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 (9): * Single equations (assignments): 9 * 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 0.0001273/0.3073, allocations: 133.8 kB / 0.9074 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.792e-05/0.3073, allocations: 15.75 kB / 0.9074 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.113e-05/0.3074, allocations: 17.41 kB / 0.9074 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3074, allocations: 4 kB / 0.9074 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.3074, allocations: 3.938 kB / 0.9074 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.3075, allocations: 7.922 kB / 0.9074 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/0.3078, allocations: 245.5 kB / 0.9077 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3078, allocations: 0 / 0.9077 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/0.3082, allocations: 63.94 kB / 0.9077 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.3082, allocations: 288 / 0.9077 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.3082, allocations: 0 / 0.9077 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3083, allocations: 0 / 0.9077 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.3083, allocations: 11.88 kB / 0.9078 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.3095, allocations: 407.1 kB / 0.9081 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.3095, allocations: 92.92 kB / 0.9082 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.3096, allocations: 4 kB / 0.9082 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003451/0.3099, allocations: 43.95 kB / 0.9083 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.544e-05/0.31, allocations: 19.91 kB / 0.9083 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.3101, allocations: 4 kB / 0.9083 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001095/0.3102, allocations: 131.2 kB / 0.9084 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3102, allocations: 0 / 0.9084 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004084/0.3106, allocations: 24 kB / 0.9084 GB, free: 55.16 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 (9): * Single equations (assignments): 9 * 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.001521/0.3121, allocations: 0.9411 MB / 0.9094 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.3134, allocations: 283.7 kB / 0.9096 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3134, allocations: 0 / 0.9096 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006044/0.314, allocations: 151.8 kB / 0.9098 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005034/0.3146, allocations: 36.09 kB / 0.9098 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004591/0.3192, allocations: 2.321 MB / 0.9121 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.3194, allocations: 0.7238 MB / 0.9128 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001432/0.3195, allocations: 24.34 kB / 0.9128 GB, free: 50.56 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.3197, allocations: 39.42 kB / 0.9128 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of SimCode: time 8.11e-07/0.3197, allocations: 8 kB / 0.9129 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.3373, allocations: 3.071 MB / 0.9159 GB, free: 47.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/0.3376, allocations: 223.4 kB / 0.9161 GB, free: 47.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.263, allocations: 3.938 kB / 0.9161 GB, free: 47.37 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1)