Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 193.9 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.68/1.68, allocations: 292.3 MB / 0.5489 GB, free: 12.8 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002571/0.002571, allocations: 69.16 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2469, allocations: 114.6 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.002021/0.249, allocations: 0.8763 MB / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000877/0.2499, allocations: 0.8749 MB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.445e-05/0.2499, allocations: 8 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.2501, allocations: 15.81 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.995e-05/0.2502, allocations: 19.8 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000105/0.2503, allocations: 39.94 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.2504, allocations: 143.5 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.2506, allocations: 53.34 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.825e-05/0.2507, allocations: 59.77 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.2508, allocations: 79.73 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.2508, allocations: 12 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.361e-05/0.2509, allocations: 15.94 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.043e-05/0.2509, allocations: 43.89 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.587e-05/0.251, allocations: 71.58 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.2512, allocations: 163.7 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2512, allocations: 4 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2512, allocations: 0 / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2512, allocations: 4 kB / 0.7859 GB, free: 10.86 MB / 0.6075 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.0008267/0.252, allocations: 0.4971 MB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.2521, allocations: 19.97 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.2521, allocations: 42.73 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.2522, allocations: 20.66 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.2523, allocations: 216 kB / 0.7867 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.2524, allocations: 8.375 kB / 0.7867 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.2524, allocations: 8.375 kB / 0.7867 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005057/0.2529, allocations: 178.1 kB / 0.7869 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.2529, allocations: 3.938 kB / 0.7869 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.2529, allocations: 8 kB / 0.7869 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.2529, allocations: 4 kB / 0.7869 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00073/0.2537, allocations: 227.7 kB / 0.7871 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008772/0.2546, allocations: 0.5042 MB / 0.7876 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004455/0.255, allocations: 154.4 kB / 0.7877 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003588/0.2554, allocations: 112.8 kB / 0.7878 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.2554, allocations: 4 kB / 0.7878 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.2554, allocations: 38.55 kB / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.133e-06/0.2555, allocations: 0 / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.001174/0.2566, allocations: 361.3 kB / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.2567, allocations: 59.34 kB / 0.7883 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.2568, allocations: 184 kB / 0.7885 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.2569, allocations: 25.7 kB / 0.7885 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/0.2569, allocations: 116 kB / 0.7886 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.257, allocations: 35.55 kB / 0.7886 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.071e-05/0.257, allocations: 21.72 kB / 0.7887 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2571, allocations: 326.8 kB / 0.789 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003654/0.2575, allocations: 103.9 kB / 0.7891 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.2579, allocations: 108.2 kB / 0.7892 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006832/0.2585, allocations: 216.8 kB / 0.7894 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.2586, allocations: 0 / 0.7894 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007662/0.2593, allocations: 261.2 kB / 0.7896 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.2593, allocations: 4 kB / 0.7896 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2594, allocations: 3.984 kB / 0.7896 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2594, allocations: 4 kB / 0.7896 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.2597, allocations: 43.95 kB / 0.7897 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.2597, allocations: 7.922 kB / 0.7897 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.2599, allocations: 35.89 kB / 0.7897 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.2599, allocations: 4 kB / 0.7897 GB, free: 6.719 MB / 0.6075 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 9.654e-05/0.26, allocations: 133.8 kB / 0.7898 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/0.26, allocations: 15.81 kB / 0.7899 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.267e-05/0.2601, allocations: 25.39 kB / 0.7899 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2601, allocations: 0 / 0.7899 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2601, allocations: 3.938 kB / 0.7899 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2601, allocations: 4 kB / 0.7899 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/0.2603, allocations: 249.5 kB / 0.7901 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.2604, allocations: 4 kB / 0.7901 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.2606, allocations: 39.95 kB / 0.7902 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.2606, allocations: 3.984 kB / 0.7902 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.2606, allocations: 4 kB / 0.7902 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2606, allocations: 0 / 0.7902 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2606, allocations: 3.938 kB / 0.7902 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007899/0.2614, allocations: 363.1 kB / 0.7905 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.2615, allocations: 92.92 kB / 0.7906 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.2615, allocations: 0 / 0.7906 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.2617, allocations: 39.95 kB / 0.7907 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.347e-05/0.2618, allocations: 15.92 kB / 0.7907 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.2618, allocations: 0 / 0.7907 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.593e-05/0.2619, allocations: 135.2 kB / 0.7908 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2619, allocations: 0 / 0.7908 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000233/0.2621, allocations: 23.94 kB / 0.7908 GB, free: 5.488 MB / 0.6075 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.001108/0.2632, allocations: 0.8956 MB / 0.7917 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007738/0.264, allocations: 231.7 kB / 0.7919 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.264, allocations: 0 / 0.7919 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003697/0.2644, allocations: 111.9 kB / 0.792 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.2647, allocations: 28.48 kB / 0.7921 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003182/0.2679, allocations: 2.143 MB / 0.7941 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.2682, allocations: 0.7236 MB / 0.7949 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.826e-05/0.2683, allocations: 24.41 kB / 0.7949 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.302e-05/0.2684, allocations: 43.42 kB / 0.7949 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.2684, allocations: 0 / 0.7949 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.2877, allocations: 3.595 MB / 0.7984 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.227/7.515, allocations: 17.64 kB / 0.7984 GB, free: 13.66 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1)