Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.682/2.682, allocations: 287.5 MB / 302.4 MB, free: 8.277 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.001319/0.001319, allocations: 171.1 kB / 371 MB, free: 10.86 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.091/2.091, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0009103/0.0009098, allocations: 101.6 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005459/0.0005462, allocations: 12.66 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2276, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.0012/0.2289, allocations: 0.5332 MB / 0.979 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002313/0.2312, allocations: 1.462 MB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.038e-05/0.2314, allocations: 0 / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.2315, allocations: 19.86 kB / 0.9804 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.447e-05/0.2316, allocations: 27.77 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.2335, allocations: 471.7 kB / 0.9809 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005004/0.2341, allocations: 379.2 kB / 0.9813 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.2342, allocations: 33.48 kB / 0.9813 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.2345, allocations: 159.7 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.2347, allocations: 123.6 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.2348, allocations: 24 kB / 0.9816 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.235, allocations: 39.92 kB / 0.9816 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.441e-05/0.235, allocations: 27.91 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.2351, allocations: 69.64 kB / 0.9817 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.2355, allocations: 283.5 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.2355, allocations: 0 / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.295e-06/0.2355, allocations: 3.938 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.2355, allocations: 0 / 0.982 GB, free: 24.59 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.0006809/0.2362, allocations: 0.5735 MB / 0.9826 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.2363, allocations: 12.02 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.718e-05/0.2364, allocations: 50.48 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.2365, allocations: 35.72 kB / 0.9827 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.2369, allocations: 258.8 kB / 0.9829 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.2369, allocations: 16 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.834e-05/0.237, allocations: 31.98 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.2374, allocations: 152.6 kB / 0.9831 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.2374, allocations: 4 kB / 0.9831 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.2374, allocations: 4 kB / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.2374, allocations: 4 kB / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002033/0.2376, allocations: 75.95 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.2388, allocations: 0.7263 MB / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.239, allocations: 163.7 kB / 0.984 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.2391, allocations: 48.83 kB / 0.9841 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.2392, allocations: 3.938 kB / 0.9841 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003502/0.2395, allocations: 159.4 kB / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 2.865e-06/0.2396, allocations: 3.938 kB / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0007436/0.2403, allocations: 241.2 kB / 0.9845 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.2404, allocations: 55.36 kB / 0.9845 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.2406, allocations: 186.8 kB / 0.9847 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.381e-05/0.2407, allocations: 37.7 kB / 0.9848 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.2408, allocations: 132.4 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.2409, allocations: 39.55 kB / 0.9849 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-05/0.2409, allocations: 12 kB / 0.9849 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.999e-05/0.241, allocations: 326.8 kB / 0.9852 GB, free: 21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/0.2416, allocations: 151.9 kB / 0.9854 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005483/0.2421, allocations: 253.9 kB / 0.9856 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005114/0.2426, allocations: 288.4 kB / 0.9859 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.2427, allocations: 0 / 0.9859 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001487/0.2442, allocations: 0.6186 MB / 0.9865 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.2443, allocations: 168.4 kB / 0.9867 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.2443, allocations: 4 kB / 0.9867 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/0.2443, allocations: 4.344 kB / 0.9867 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.034e-05/0.2444, allocations: 8 kB / 0.9867 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.2444, allocations: 11.92 kB / 0.9867 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.2459, allocations: 201.3 kB / 0.9869 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-05/0.2461, allocations: 31.97 kB / 0.9869 GB, free: 19.14 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.0002355/0.2463, allocations: 163 kB / 0.9871 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.2464, allocations: 15.81 kB / 0.9871 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.784e-05/0.2464, allocations: 25.84 kB / 0.9871 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.2464, allocations: 0 / 0.9871 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.2464, allocations: 0 / 0.9871 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.2465, allocations: 0 / 0.9871 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007029/0.2472, allocations: 0.5022 MB / 0.9876 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2472, allocations: 0 / 0.9876 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.33e-05/0.2472, allocations: 15.92 kB / 0.9876 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.2473, allocations: 0 / 0.9876 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.2473, allocations: 11.94 kB / 0.9876 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.2473, allocations: 4.062 kB / 0.9876 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.2473, allocations: 3.953 kB / 0.9876 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/0.2477, allocations: 275.2 kB / 0.9879 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.2477, allocations: 92.86 kB / 0.988 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.2478, allocations: 11.98 kB / 0.988 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.2479, allocations: 8 kB / 0.988 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.248, allocations: 23.91 kB / 0.988 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.248, allocations: 8 kB / 0.988 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.951e-05/0.2481, allocations: 120.2 kB / 0.9881 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.2e-07/0.2481, allocations: 0 / 0.9881 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004881/0.2486, allocations: 75.94 kB / 0.9882 GB, free: 17.71 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.0006359/0.2493, allocations: 0.8281 MB / 0.989 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.2503, allocations: 0.614 MB / 0.9896 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2503, allocations: 0 / 0.9896 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.2505, allocations: 75.91 kB / 0.9897 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006/0.2511, allocations: 48.64 kB / 0.9897 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/0.2543, allocations: 1.483 MB / 0.9912 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.2545, allocations: 0.7242 MB / 0.9919 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001201/0.2547, allocations: 17.55 kB / 0.9919 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.2548, allocations: 59.41 kB / 0.992 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of SimCode: time 1.493e-06/0.2549, allocations: 0 / 0.992 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03472/0.2896, allocations: 5.872 MB / 0.9977 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.2899, allocations: 193.8 kB / 0.9979 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.9/3.19, allocations: 2.672 kB / 0.9979 GB, free: 7.746 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1)