Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.MultiSum,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_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.0008139/0.0008139, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005168/0.005168, allocations: 169 kB / 16.26 MB, free: 6.652 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.427/1.427, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.66/1.66, allocations: 292.7 MB / 0.5502 GB, free: 14.43 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.0004938/0.0004938, allocations: 15.41 kB / 0.6744 GB, free: 25.64 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2202, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.0009704/0.2212, allocations: 0.5721 MB / 0.7886 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009746/0.2222, allocations: 0.8866 MB / 0.7894 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.296e-05/0.2223, allocations: 7.938 kB / 0.7894 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.541e-05/0.2224, allocations: 7.922 kB / 0.7894 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.853e-05/0.2225, allocations: 7.875 kB / 0.7895 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.2226, allocations: 59.92 kB / 0.7895 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.2228, allocations: 119.7 kB / 0.7896 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.2229, allocations: 37.11 kB / 0.7897 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.193e-05/0.223, allocations: 47.78 kB / 0.7897 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.2231, allocations: 71.72 kB / 0.7898 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.2232, allocations: 8 kB / 0.7898 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.728e-05/0.2232, allocations: 4 kB / 0.7898 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/0.2232, allocations: 27.89 kB / 0.7898 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.315e-05/0.2233, allocations: 73.42 kB / 0.7899 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.2235, allocations: 127.7 kB / 0.79 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2235, allocations: 0 / 0.79 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.19e-05/0.2235, allocations: 0 / 0.79 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.2235, allocations: 3.938 kB / 0.79 GB, free: 9.402 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007631/0.2243, allocations: 443 kB / 0.7904 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2243, allocations: 8.031 kB / 0.7904 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.396e-05/0.2244, allocations: 42.75 kB / 0.7905 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.2244, allocations: 8.844 kB / 0.7905 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.2246, allocations: 204.7 kB / 0.7907 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.2246, allocations: 8.375 kB / 0.7907 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.2246, allocations: 12.38 kB / 0.7907 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004349/0.2251, allocations: 169.4 kB / 0.7909 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.2251, allocations: 0 / 0.7909 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.2251, allocations: 4 kB / 0.7909 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2251, allocations: 4 kB / 0.7909 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005824/0.2257, allocations: 187.8 kB / 0.791 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005851/0.2263, allocations: 420.3 kB / 0.7915 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008163/0.2271, allocations: 186.5 kB / 0.7916 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/0.2275, allocations: 112.8 kB / 0.7917 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.2275, allocations: 0 / 0.7917 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.2275, allocations: 34.56 kB / 0.7918 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 9.02e-07/0.2275, allocations: 4 kB / 0.7918 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0009847/0.2285, allocations: 333.2 kB / 0.7921 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.2286, allocations: 55.34 kB / 0.7921 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.2287, allocations: 153.6 kB / 0.7923 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.2287, allocations: 25.7 kB / 0.7923 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.2288, allocations: 104 kB / 0.7924 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.2288, allocations: 31.55 kB / 0.7924 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.2289, allocations: 21.7 kB / 0.7925 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.229, allocations: 322.8 kB / 0.7928 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.2293, allocations: 83.92 kB / 0.7929 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.2295, allocations: 95.92 kB / 0.7929 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000559/0.2301, allocations: 196.6 kB / 0.7931 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2301, allocations: 0 / 0.7931 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006305/0.2308, allocations: 233.4 kB / 0.7934 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.2308, allocations: 4 kB / 0.7934 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.2308, allocations: 7.938 kB / 0.7934 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.2308, allocations: 0.6562 kB / 0.7934 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.2311, allocations: 43.95 kB / 0.7934 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2311, allocations: 3.984 kB / 0.7934 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.2313, allocations: 39.91 kB / 0.7934 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.2313, allocations: 3.984 kB / 0.7935 GB, free: 5.629 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: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001034/0.2314, allocations: 121.8 kB / 0.7936 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.2315, allocations: 15.8 kB / 0.7936 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.043e-05/0.2315, allocations: 28.58 kB / 0.7936 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2315, allocations: 0 / 0.7936 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2315, allocations: 0 / 0.7936 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2315, allocations: 4 kB / 0.7936 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.2318, allocations: 237.5 kB / 0.7938 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2318, allocations: 0 / 0.7938 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.232, allocations: 47.94 kB / 0.7939 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2321, allocations: 0 / 0.7939 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.2321, allocations: 7.938 kB / 0.7939 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2321, allocations: 0 / 0.7939 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2321, allocations: 0 / 0.7939 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006809/0.2328, allocations: 335.3 kB / 0.7942 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.2328, allocations: 88.92 kB / 0.7943 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.2329, allocations: 3.938 kB / 0.7943 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.2331, allocations: 31.97 kB / 0.7943 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.67e-05/0.2332, allocations: 31.95 kB / 0.7944 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.2332, allocations: 4 kB / 0.7944 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.665e-05/0.2333, allocations: 111.2 kB / 0.7945 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2333, allocations: 0 / 0.7945 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002413/0.2335, allocations: 23.94 kB / 0.7945 GB, free: 4.461 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0009642/0.2345, allocations: 0.8801 MB / 0.7954 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006181/0.2351, allocations: 203.9 kB / 0.7956 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2351, allocations: 4 kB / 0.7956 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003226/0.2355, allocations: 119.8 kB / 0.7957 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.2358, allocations: 10.06 kB / 0.7957 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.2386, allocations: 1.943 MB / 0.7976 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.2389, allocations: 0.7083 MB / 0.7983 GB, free: 476 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001132/0.2391, allocations: 20.42 kB / 0.7983 GB, free: 456 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.2392, allocations: 47.34 kB / 0.7983 GB, free: 408 kB / 0.6075 GB Notification: Performance of SimCode: time 7.62e-07/0.2392, allocations: 0 / 0.7983 GB, free: 408 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01239/0.2516, allocations: 3.237 MB / 0.8015 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.2518, allocations: 214.9 kB / 0.8017 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/1.918, allocations: 0 / 0.8017 GB, free: 13.04 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)