Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_8_0_0_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_0_0_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 8.0.0/package.mo): time 1.389/1.389, allocations: 287.4 MB / 302.6 MB, free: 8.402 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008226/0.0008226, allocations: 184.6 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.134/1.134, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006703/0.0006702, allocations: 103.7 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003283, allocations: 23 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1451, allocations: 115.3 MB / 0.9788 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.0006965/0.1458, allocations: 0.5688 MB / 0.9793 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006701/0.1465, allocations: 0.8711 MB / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.215e-05/0.1465, allocations: 0 / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.623e-05/0.1466, allocations: 15.86 kB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.993e-05/0.1467, allocations: 27.78 kB / 0.9802 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 8.285e-05/0.1468, allocations: 23.97 kB / 0.9802 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.1469, allocations: 123.6 kB / 0.9803 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.147, allocations: 49.34 kB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.657e-05/0.1471, allocations: 43.83 kB / 0.9804 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.094e-05/0.1472, allocations: 71.73 kB / 0.9805 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.1472, allocations: 7.938 kB / 0.9805 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.628e-05/0.1472, allocations: 4 kB / 0.9805 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.744e-05/0.1473, allocations: 35.84 kB / 0.9805 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.1473, allocations: 49.64 kB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.579e-05/0.1474, allocations: 120 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1474, allocations: 0 / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1474, allocations: 0 / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.1474, allocations: 0 / 0.9807 GB, free: 26.05 MB / 0.6198 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.000645/0.1481, allocations: 0.5046 MB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.1481, allocations: 12.03 kB / 0.9812 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.319e-05/0.1481, allocations: 42.73 kB / 0.9813 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.1482, allocations: 24.75 kB / 0.9813 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.1483, allocations: 219.7 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-06/0.1483, allocations: 8.375 kB / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.1483, allocations: 8.375 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004465/0.1488, allocations: 206 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1488, allocations: 7.875 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1488, allocations: 12 kB / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.1488, allocations: 0 / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006508/0.1495, allocations: 279.7 kB / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007527/0.1502, allocations: 0.5354 MB / 0.9825 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.1506, allocations: 182.4 kB / 0.9827 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/0.151, allocations: 148.7 kB / 0.9828 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.151, allocations: 0 / 0.9828 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.079e-05/0.151, allocations: 34.56 kB / 0.9829 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 9.11e-07/0.151, allocations: 0 / 0.9829 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.00102/0.152, allocations: 445.3 kB / 0.9833 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.688e-05/0.1521, allocations: 55.34 kB / 0.9833 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.376e-05/0.1522, allocations: 178.3 kB / 0.9835 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.1522, allocations: 29.7 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.698e-05/0.1522, allocations: 120 kB / 0.9836 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.1523, allocations: 27.56 kB / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-06/0.1523, allocations: 4 kB / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.775e-05/0.1523, allocations: 322.8 kB / 0.984 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/0.1526, allocations: 135.8 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.1529, allocations: 127.9 kB / 0.9842 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006019/0.1535, allocations: 272.6 kB / 0.9845 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1536, allocations: 0 / 0.9845 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006562/0.1542, allocations: 309.8 kB / 0.9848 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.1542, allocations: 11.98 kB / 0.9848 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1542, allocations: 96 / 0.9848 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1543, allocations: 7.938 kB / 0.9848 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.1545, allocations: 51.95 kB / 0.9849 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1545, allocations: 3.938 kB / 0.9849 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.1547, allocations: 55.89 kB / 0.9849 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1547, allocations: 0 / 0.9849 GB, free: 21.51 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.295e-05/0.1548, allocations: 139.1 kB / 0.985 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.1548, allocations: 11.81 kB / 0.9851 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.1548, allocations: 29.39 kB / 0.9851 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1549, allocations: 7.938 kB / 0.9851 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1549, allocations: 3.938 kB / 0.9851 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1549, allocations: 0 / 0.9851 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.155, allocations: 249.5 kB / 0.9853 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.155, allocations: 0 / 0.9853 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.1553, allocations: 55.95 kB / 0.9854 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1553, allocations: 0 / 0.9854 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1553, allocations: 0 / 0.9854 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1553, allocations: 0 / 0.9854 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1553, allocations: 7.938 kB / 0.9854 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006726/0.156, allocations: 419 kB / 0.9858 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.016e-05/0.156, allocations: 88.92 kB / 0.9859 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.156, allocations: 4 kB / 0.9859 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.1562, allocations: 51.95 kB / 0.9859 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.1563, allocations: 11.92 kB / 0.9859 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.1563, allocations: 8 kB / 0.986 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.781e-05/0.1564, allocations: 136.2 kB / 0.9861 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1564, allocations: 0 / 0.9861 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001937/0.1566, allocations: 27.94 kB / 0.9861 GB, free: 20.2 MB / 0.6198 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 (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.0008335/0.1574, allocations: 0.9465 MB / 0.987 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000664/0.1581, allocations: 279.7 kB / 0.9873 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1581, allocations: 0 / 0.9873 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003374/0.1584, allocations: 143.9 kB / 0.9874 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.1587, allocations: 23.92 kB / 0.9875 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.1604, allocations: 1.186 MB / 0.9886 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.1605, allocations: 0.7278 MB / 0.9893 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.961e-05/0.1606, allocations: 24.41 kB / 0.9894 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.1607, allocations: 39.42 kB / 0.9894 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.1607, allocations: 0 / 0.9894 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3917/0.5524, allocations: 3.013 MB / 0.9923 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001442/0.5525, allocations: 192.5 kB / 0.9925 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.369, allocations: 0 / 0.9925 GB, free: 13.65 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1)