Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.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.MultiMin,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",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 2.654/2.654, allocations: 287.5 MB / 302.4 MB, free: 8.297 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.001309/0.001309, allocations: 182.6 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.183/2.183, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.001302/0.001302, allocations: 89.28 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000751/0.0007514, allocations: 21.5 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2379, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.0008317/0.2388, allocations: 379 kB / 0.9788 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001455/0.239, allocations: 11.98 kB / 0.9788 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.525e-05/0.239, allocations: 4 kB / 0.9788 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.759e-05/0.2391, allocations: 3.938 kB / 0.9789 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.596e-05/0.2392, allocations: 0 / 0.9789 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 8.256e-05/0.2393, allocations: 3.984 kB / 0.9789 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.2394, allocations: 43.91 kB / 0.9789 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.2395, allocations: 20 kB / 0.9789 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.141e-05/0.2395, allocations: 11.92 kB / 0.9789 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.812e-05/0.2396, allocations: 3.938 kB / 0.9789 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.2396, allocations: 4 kB / 0.9789 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.2396, allocations: 0 / 0.9789 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.2396, allocations: 8 kB / 0.9789 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.978e-05/0.2397, allocations: 33.64 kB / 0.979 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.675e-05/0.2397, allocations: 39.92 kB / 0.979 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2398, allocations: 0 / 0.979 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.654e-06/0.2398, allocations: 0 / 0.979 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.2398, allocations: 0 / 0.979 GB, free: 27.68 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002865/0.2401, allocations: 347.5 kB / 0.9793 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2401, allocations: 15.95 kB / 0.9794 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.2402, allocations: 34.56 kB / 0.9794 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.2402, allocations: 7.906 kB / 0.9794 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.2404, allocations: 179 kB / 0.9796 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.2404, allocations: 12 kB / 0.9796 GB, free: 27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.2404, allocations: 3.984 kB / 0.9796 GB, free: 27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.2406, allocations: 81.59 kB / 0.9797 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.2406, allocations: 0 / 0.9797 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.2406, allocations: 4 kB / 0.9797 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.2406, allocations: 0 / 0.9797 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.768e-05/0.2408, allocations: 43.97 kB / 0.9797 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/0.2412, allocations: 499.1 kB / 0.9802 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.835e-05/0.2413, allocations: 165.1 kB / 0.9803 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.983e-05/0.2414, allocations: 80.14 kB / 0.9804 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.2414, allocations: 79.23 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.2414, allocations: 113.9 kB / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/0.2414, allocations: 4 kB / 0.9806 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.68e-05/0.2415, allocations: 37.55 kB / 0.9806 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.2416, allocations: 126.7 kB / 0.9808 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.2418, allocations: 176.2 kB / 0.9809 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.2418, allocations: 25.7 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.2418, allocations: 96.05 kB / 0.981 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.2418, allocations: 0 / 0.981 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.2419, allocations: 0 / 0.981 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.976e-05/0.2419, allocations: 326.8 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.219e-05/0.242, allocations: 4 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.217e-05/0.242, allocations: 7.984 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.605e-05/0.242, allocations: 8 kB / 0.9814 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.242, allocations: 0 / 0.9814 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001396/0.2422, allocations: 57.52 kB / 0.9814 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.2422, allocations: 11.95 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.2422, allocations: 0 / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2423, allocations: 0 / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.827e-05/0.2423, allocations: 8.094 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2424, allocations: 0 / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.2424, allocations: 7.938 kB / 0.9815 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.2424, allocations: 0 / 0.9815 GB, free: 24.94 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 (1): * Single equations (assignments): 1 * 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 7.803e-05/0.2425, allocations: 194.4 kB / 0.9816 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.301e-05/0.2426, allocations: 108.9 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.2426, allocations: 120.7 kB / 0.9819 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.259e-05/0.2427, allocations: 184.3 kB / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.16e-05/0.2427, allocations: 180.2 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.209e-05/0.2427, allocations: 184.2 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.2429, allocations: 417.2 kB / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/0.243, allocations: 104.9 kB / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.967e-05/0.243, allocations: 109 kB / 0.983 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.13e-05/0.243, allocations: 185.1 kB / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/0.2431, allocations: 176.4 kB / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.162e-05/0.2431, allocations: 184.2 kB / 0.9835 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.053e-05/0.2432, allocations: 188.2 kB / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.2433, allocations: 307.8 kB / 0.984 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.036e-05/0.2434, allocations: 194.2 kB / 0.9842 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.287e-05/0.2435, allocations: 184.2 kB / 0.9843 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.2436, allocations: 105 kB / 0.9844 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.2437, allocations: 184.2 kB / 0.9846 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.2437, allocations: 108.9 kB / 0.9847 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001599/0.2439, allocations: 137.4 kB / 0.9849 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.81e-07/0.2439, allocations: 0 / 0.9849 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002734/0.2442, allocations: 4 kB / 0.9849 GB, free: 21.24 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 (0): * Single equations (assignments): 0 * 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.000315/0.2445, allocations: 0.8141 MB / 0.9857 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.19e-05/0.2446, allocations: 11.92 kB / 0.9857 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2446, allocations: 0 / 0.9857 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.866e-06/0.2446, allocations: 0 / 0.9857 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.2451, allocations: 0.5263 MB / 0.9862 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008688/0.2459, allocations: 0.5856 MB / 0.9868 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001621/0.2461, allocations: 0.6909 MB / 0.9874 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.463e-05/0.2462, allocations: 4 kB / 0.9874 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/0.2462, allocations: 27.53 kB / 0.9875 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/0.2462, allocations: 3.938 kB / 0.9875 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02223/0.2685, allocations: 1.406 MB / 0.9888 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/0.2688, allocations: 199.9 kB / 0.989 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.579/2.847, allocations: 0 / 0.989 GB, free: 16.97 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1)