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.662/2.662, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.002282/0.002282, allocations: 181.1 kB / 370.8 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 2.135/2.135, allocations: 205.4 MB / 0.6295 GB, free: 10.5 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.001193/0.001192, allocations: 94.83 kB / 0.7428 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006768/0.0006771, allocations: 13.08 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2533, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001063/0.2544, allocations: 0.5373 MB / 0.9788 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002144/0.2566, allocations: 1.376 MB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.597e-05/0.2567, allocations: 0 / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.2569, allocations: 19.84 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.307e-05/0.257, allocations: 35.94 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.2588, allocations: 466.1 kB / 0.9807 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004915/0.2593, allocations: 243.6 kB / 0.9809 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.2595, allocations: 37.47 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.2597, allocations: 151.7 kB / 0.9811 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.2599, allocations: 131.6 kB / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.304e-05/0.26, allocations: 20 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.2602, allocations: 31.98 kB / 0.9812 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.585e-05/0.2603, allocations: 39.89 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.2604, allocations: 69.58 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.2608, allocations: 279.5 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2608, allocations: 0 / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.825e-06/0.2608, allocations: 4 kB / 0.9816 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.2608, allocations: 3.938 kB / 0.9816 GB, free: 24.83 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.0006708/0.2615, allocations: 0.5714 MB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.2616, allocations: 16.02 kB / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.99e-05/0.2616, allocations: 42.55 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.2617, allocations: 31.72 kB / 0.9823 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.2621, allocations: 258.8 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/0.2622, allocations: 19.98 kB / 0.9825 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.507e-05/0.2623, allocations: 28 kB / 0.9826 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.2626, allocations: 152.6 kB / 0.9827 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.2627, allocations: 0 / 0.9827 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.2627, allocations: 8 kB / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2627, allocations: 0 / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.2629, allocations: 87.88 kB / 0.9828 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.264, allocations: 0.7146 MB / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.2643, allocations: 171.6 kB / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.2643, allocations: 0 / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003438/0.2647, allocations: 175.4 kB / 0.9838 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 2.244e-06/0.2647, allocations: 3.938 kB / 0.9838 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0006308/0.2653, allocations: 231.6 kB / 0.9841 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.2654, allocations: 63.33 kB / 0.9841 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.2656, allocations: 182.7 kB / 0.9843 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.938e-05/0.2657, allocations: 37.7 kB / 0.9843 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.2658, allocations: 132.4 kB / 0.9844 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.2658, allocations: 35.55 kB / 0.9845 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.788e-05/0.2659, allocations: 16 kB / 0.9845 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.317e-05/0.266, allocations: 326.8 kB / 0.9848 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004868/0.2665, allocations: 155.9 kB / 0.985 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005207/0.267, allocations: 238 kB / 0.9852 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004937/0.2675, allocations: 300.3 kB / 0.9855 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.2676, allocations: 0 / 0.9855 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00143/0.269, allocations: 0.6211 MB / 0.9861 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.2691, allocations: 160.5 kB / 0.9862 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.2691, allocations: 3.984 kB / 0.9862 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.2692, allocations: 4 kB / 0.9862 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.982e-05/0.2692, allocations: 15.94 kB / 0.9863 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.2693, allocations: 8.328 kB / 0.9863 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.2708, allocations: 195.6 kB / 0.9864 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-05/0.2709, allocations: 31.97 kB / 0.9865 GB, free: 19.44 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.0002393/0.2712, allocations: 159 kB / 0.9866 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.2712, allocations: 19.81 kB / 0.9867 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.338e-05/0.2713, allocations: 17.86 kB / 0.9867 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.2713, allocations: 4 kB / 0.9867 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.2713, allocations: 0 / 0.9867 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2713, allocations: 0 / 0.9867 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007012/0.272, allocations: 0.5099 MB / 0.9872 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.272, allocations: 0 / 0.9872 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-05/0.2721, allocations: 4 kB / 0.9872 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.2721, allocations: 0 / 0.9872 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.2722, allocations: 12 kB / 0.9872 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.2722, allocations: 0 / 0.9872 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2722, allocations: 3.938 kB / 0.9872 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.2726, allocations: 290.8 kB / 0.9875 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.2726, allocations: 92.95 kB / 0.9876 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.2727, allocations: 7.922 kB / 0.9876 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.2728, allocations: 8 kB / 0.9876 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.55e-05/0.2729, allocations: 19.97 kB / 0.9876 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.2729, allocations: 8 kB / 0.9876 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.141e-05/0.273, allocations: 120.2 kB / 0.9877 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.273, allocations: 0 / 0.9877 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005573/0.2736, allocations: 87.94 kB / 0.9878 GB, free: 18 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.0006536/0.2742, allocations: 0.8215 MB / 0.9886 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.2753, allocations: 0.6062 MB / 0.9892 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2753, allocations: 0 / 0.9892 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.2755, allocations: 79.86 kB / 0.9893 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.276, allocations: 47.05 kB / 0.9893 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.2774, allocations: 2.301 MB / 0.9916 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.2776, allocations: 0.7323 MB / 0.9923 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001187/0.2778, allocations: 21.55 kB / 0.9923 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.2779, allocations: 55.42 kB / 0.9923 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/0.2779, allocations: 0 / 0.9923 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03535/0.3132, allocations: 5.805 MB / 0.998 GB, free: 7.516 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002716/0.3136, allocations: 186.7 kB / 0.9982 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.625/2.939, allocations: 0 / 0.9982 GB, free: 7.277 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)