Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.62/1.62, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001418/0.001417, allocations: 178.8 kB / 326.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.963/1.963, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009083/0.0009082, allocations: 100.2 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004946/0.0004946, allocations: 15.12 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2215, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001765/0.2233, allocations: 1.251 MB / 0.9014 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006201/0.224, allocations: 330.2 kB / 0.9017 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.35e-05/0.2241, allocations: 4 kB / 0.9017 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.2242, allocations: 15.86 kB / 0.9017 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.308e-05/0.2243, allocations: 27.94 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.2245, allocations: 55.88 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.2247, allocations: 127.6 kB / 0.9019 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.2248, allocations: 33.47 kB / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.57e-05/0.2249, allocations: 47.86 kB / 0.902 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.499e-05/0.225, allocations: 67.67 kB / 0.9021 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.2251, allocations: 8 kB / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.532e-05/0.2251, allocations: 8 kB / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.121e-05/0.2251, allocations: 31.91 kB / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.308e-05/0.2252, allocations: 49.64 kB / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.2254, allocations: 123.9 kB / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2254, allocations: 0 / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.936e-06/0.2254, allocations: 0 / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2254, allocations: 3.938 kB / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.000841/0.2262, allocations: 482.8 kB / 0.9027 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.2263, allocations: 12.03 kB / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.011e-05/0.2264, allocations: 54.55 kB / 0.9028 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.2264, allocations: 15.81 kB / 0.9028 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.2266, allocations: 228.7 kB / 0.903 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.2267, allocations: 12 kB / 0.903 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.2267, allocations: 12 kB / 0.9031 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.227, allocations: 159.3 kB / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.227, allocations: 0 / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.227, allocations: 4 kB / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.2271, allocations: 7.984 kB / 0.9032 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/0.2273, allocations: 111.9 kB / 0.9033 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.2283, allocations: 0.6176 MB / 0.9039 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.2286, allocations: 203.6 kB / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.2287, allocations: 4 kB / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002205/0.2289, allocations: 136.2 kB / 0.9043 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.774e-06/0.2289, allocations: 0 / 0.9043 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20): time 0.0004214/0.2293, allocations: 219.8 kB / 0.9045 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.2294, allocations: 59.48 kB / 0.9045 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.2295, allocations: 176.9 kB / 0.9047 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.2296, allocations: 29.7 kB / 0.9047 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.405e-05/0.2296, allocations: 116.5 kB / 0.9048 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.2297, allocations: 43.73 kB / 0.9049 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.2297, allocations: 4 kB / 0.9049 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.601e-05/0.2298, allocations: 322.8 kB / 0.9052 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.776e-05/0.2299, allocations: 55.97 kB / 0.9052 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.23, allocations: 101.9 kB / 0.9053 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.933e-05/0.2301, allocations: 44 kB / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2301, allocations: 4 kB / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002929/0.2304, allocations: 183 kB / 0.9056 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2304, allocations: 4 kB / 0.9056 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2304, allocations: 4 kB / 0.9056 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.2305, allocations: 3.938 kB / 0.9056 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.449e-05/0.2306, allocations: 19.98 kB / 0.9056 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.2306, allocations: 7.938 kB / 0.9056 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.2308, allocations: 48.05 kB / 0.9056 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.2309, allocations: 8 kB / 0.9056 GB, free: 57.95 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulAnd2.u[2],mulAnd2.y,mulAnd5.u[1],mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y,mulAnd5.uTemp[2],mulAnd5.uTemp[3],mulAnd5.uTemp[4],$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.booPul3.pulseStart,booPul3.pulseStart,$PRE.booPul4.pulseStart,booPul4.pulseStart,$PRE.booPul5.pulseStart,booPul5.pulseStart,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): 26 * 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 0.0001121/0.231, allocations: 144 kB / 0.9058 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.231, allocations: 19.81 kB / 0.9058 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.284e-05/0.2311, allocations: 25.17 kB / 0.9058 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.2311, allocations: 0 / 0.9058 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2311, allocations: 0 / 0.9058 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/0.2311, allocations: 0 / 0.9058 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005575/0.2317, allocations: 0.506 MB / 0.9063 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2317, allocations: 0 / 0.9063 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.136e-05/0.2317, allocations: 7.938 kB / 0.9063 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2317, allocations: 4 kB / 0.9063 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.2317, allocations: 4 kB / 0.9063 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2318, allocations: 8.047 kB / 0.9063 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2318, allocations: 7.953 kB / 0.9064 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.232, allocations: 261.3 kB / 0.9066 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.2321, allocations: 88.92 kB / 0.9067 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.2321, allocations: 4 kB / 0.9067 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.2324, allocations: 39.95 kB / 0.9067 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.298e-05/0.2325, allocations: 27.95 kB / 0.9068 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.2325, allocations: 12 kB / 0.9068 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.332e-05/0.2326, allocations: 128.4 kB / 0.9069 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2326, allocations: 0 / 0.9069 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003841/0.233, allocations: 39.94 kB / 0.9069 GB, free: 56.54 MB / 0.6042 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],$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulAnd2.u[2],mulAnd2.y,mulAnd5.u[1],mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.pulseStart,booPul2.pulseStart,booPul3.pulseStart,booPul4.pulseStart,booPul5.pulseStart) * 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.0005155/0.2335, allocations: 0.8118 MB / 0.9077 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002934/0.2338, allocations: 143.8 kB / 0.9079 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2338, allocations: 384 / 0.9079 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.234, allocations: 86.47 kB / 0.9079 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.2344, allocations: 39.97 kB / 0.908 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.2361, allocations: 1.883 MB / 0.9098 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.2362, allocations: 0.7245 MB / 0.9105 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001146/0.2364, allocations: 41.5 kB / 0.9106 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.082e-05/0.2365, allocations: 55.42 kB / 0.9106 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of SimCode: time 1.112e-06/0.2365, allocations: 96 / 0.9106 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.2524, allocations: 3.661 MB / 0.9142 GB, free: 49.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/0.2526, allocations: 197.9 kB / 0.9144 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/1.847, allocations: 0 / 0.9144 GB, free: 48.91 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1)