Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.854/1.854, allocations: 288.2 MB / 303.2 MB, free: 8.125 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.001405/0.001404, allocations: 183.7 kB / 371.8 MB, free: 10.28 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.828/1.828, allocations: 205.4 MB / 0.6305 GB, free: 9.926 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.0009976/0.0009976, allocations: 102.6 kB / 0.7439 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004317/0.0004319, allocations: 12.81 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2354, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.0009848/0.2364, allocations: 0.5375 MB / 0.98 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.2381, allocations: 1.368 MB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.643e-05/0.2382, allocations: 4 kB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.2383, allocations: 15.86 kB / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.59e-05/0.2384, allocations: 39.88 kB / 0.9814 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.2396, allocations: 467.5 kB / 0.9819 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003848/0.24, allocations: 235.7 kB / 0.9821 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.2402, allocations: 37.45 kB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002472/0.2404, allocations: 155.7 kB / 0.9823 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.2407, allocations: 131.6 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.646e-05/0.2408, allocations: 24 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.2409, allocations: 28 kB / 0.9824 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.495e-05/0.2409, allocations: 39.83 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.241, allocations: 65.64 kB / 0.9825 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.2413, allocations: 287.5 kB / 0.9828 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2414, allocations: 0 / 0.9828 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2414, allocations: 0 / 0.9828 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.2414, allocations: 0 / 0.9828 GB, free: 24.17 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006981/0.2421, allocations: 0.5735 MB / 0.9834 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.2421, allocations: 12.02 kB / 0.9834 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.806e-05/0.2422, allocations: 42.56 kB / 0.9834 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.2424, allocations: 35.7 kB / 0.9835 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.2427, allocations: 262.8 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.2428, allocations: 16 kB / 0.9837 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-05/0.2428, allocations: 28 kB / 0.9838 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.2431, allocations: 148.6 kB / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2431, allocations: 0 / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.2431, allocations: 11.98 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2431, allocations: 4 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.2433, allocations: 83.89 kB / 0.984 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008544/0.2441, allocations: 0.7186 MB / 0.9847 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.2443, allocations: 175.5 kB / 0.9849 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.2443, allocations: 4.094 kB / 0.9849 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002433/0.2446, allocations: 163.2 kB / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.824e-06/0.2446, allocations: 0 / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0004069/0.245, allocations: 239.6 kB / 0.9852 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.2451, allocations: 59.41 kB / 0.9853 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.2452, allocations: 174.8 kB / 0.9855 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.093e-05/0.2453, allocations: 41.7 kB / 0.9855 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.956e-05/0.2453, allocations: 132.4 kB / 0.9856 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.2454, allocations: 35.53 kB / 0.9857 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.2454, allocations: 12 kB / 0.9857 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.741e-05/0.2455, allocations: 342.8 kB / 0.986 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.2458, allocations: 155.9 kB / 0.9862 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.246, allocations: 231.1 kB / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.2463, allocations: 292.5 kB / 0.9867 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.2463, allocations: 4 kB / 0.9867 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007902/0.2471, allocations: 0.6147 MB / 0.9873 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.327e-05/0.2472, allocations: 160.5 kB / 0.9874 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.2472, allocations: 4 kB / 0.9874 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.2473, allocations: 4 kB / 0.9874 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.5e-05/0.2473, allocations: 15.92 kB / 0.9874 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.2473, allocations: 4 kB / 0.9874 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008677/0.2482, allocations: 196 kB / 0.9876 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.805e-05/0.2483, allocations: 35.97 kB / 0.9877 GB, free: 18.79 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[2],mulAnd5.uTemp[3],mulAnd5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.y,mulAnd0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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 0.0001489/0.2484, allocations: 162.7 kB / 0.9878 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.2485, allocations: 15.81 kB / 0.9878 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.079e-05/0.2485, allocations: 21.88 kB / 0.9879 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.2485, allocations: 4 kB / 0.9879 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2485, allocations: 0 / 0.9879 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2485, allocations: 3.984 kB / 0.9879 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004204/0.249, allocations: 0.5043 MB / 0.9884 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.249, allocations: 0 / 0.9884 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.678e-05/0.249, allocations: 4 kB / 0.9884 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.249, allocations: 7.938 kB / 0.9884 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.249, allocations: 7.984 kB / 0.9884 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.249, allocations: 4 kB / 0.9884 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.249, allocations: 4 kB / 0.9884 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.2493, allocations: 279.2 kB / 0.9886 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.2493, allocations: 100.8 kB / 0.9887 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.2494, allocations: 4 kB / 0.9887 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.144e-05/0.2494, allocations: 4 kB / 0.9887 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.2495, allocations: 19.97 kB / 0.9888 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.2495, allocations: 8 kB / 0.9888 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.937e-05/0.2496, allocations: 124.2 kB / 0.9889 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2496, allocations: 3.938 kB / 0.9889 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003459/0.2499, allocations: 84 kB / 0.989 GB, free: 17.35 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: 20 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0005163/0.2504, allocations: 0.8244 MB / 0.9898 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005788/0.251, allocations: 0.6101 MB / 0.9904 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.2511, allocations: 4 kB / 0.9904 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.07e-05/0.2512, allocations: 79.86 kB / 0.9905 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.2515, allocations: 40.66 kB / 0.9905 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.2526, allocations: 2.298 MB / 0.9927 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.2528, allocations: 0.7323 MB / 0.9935 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.228e-05/0.2528, allocations: 21.55 kB / 0.9935 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.907e-05/0.2529, allocations: 63.34 kB / 0.9935 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2529, allocations: 0 / 0.9935 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.2715, allocations: 5.82 MB / 0.9992 GB, free: 6.855 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/0.2717, allocations: 194.2 kB / 0.9994 GB, free: 6.617 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/1.932, allocations: 0 / 0.9994 GB, free: 6.617 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1)