Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007709/0.0007709, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008062/0.0008061, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.4 MB / 222.1 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.692/1.692, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008175/0.0008176, allocations: 18.03 kB / 0.6738 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2738, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001009/0.2749, allocations: 398.4 kB / 0.7878 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.2765, allocations: 1.162 MB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.2766, allocations: 0 / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.2766, allocations: 4 kB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.53e-05/0.2767, allocations: 15.86 kB / 0.789 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006668/0.2774, allocations: 194.3 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000172/0.2776, allocations: 135.7 kB / 0.7893 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.829e-05/0.2777, allocations: 4 kB / 0.7893 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.917e-05/0.2778, allocations: 63.88 kB / 0.7893 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.2779, allocations: 43.88 kB / 0.7894 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.278, allocations: 12 kB / 0.7894 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.288e-05/0.278, allocations: 23.92 kB / 0.7894 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.2781, allocations: 7.938 kB / 0.7894 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.329e-05/0.2782, allocations: 41.7 kB / 0.7895 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.2783, allocations: 104 kB / 0.7896 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.2783, allocations: 4 kB / 0.7896 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.514e-06/0.2783, allocations: 0 / 0.7896 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.2784, allocations: 0 / 0.7896 GB, free: 9.633 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005115/0.2789, allocations: 406.6 kB / 0.7899 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.2789, allocations: 12.03 kB / 0.79 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.718e-05/0.279, allocations: 34.56 kB / 0.79 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.279, allocations: 7.984 kB / 0.79 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.2792, allocations: 175 kB / 0.7902 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.2792, allocations: 4 kB / 0.7902 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.2792, allocations: 15.98 kB / 0.7902 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.2793, allocations: 49.67 kB / 0.7902 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2794, allocations: 0 / 0.7902 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.2794, allocations: 0 / 0.7902 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2794, allocations: 0 / 0.7902 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.923e-05/0.2794, allocations: 16 kB / 0.7902 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004879/0.2799, allocations: 364.5 kB / 0.7906 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.264e-05/0.28, allocations: 30.56 kB / 0.7906 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.708e-05/0.28, allocations: 16.86 kB / 0.7906 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.2801, allocations: 0 / 0.7906 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.2803, allocations: 83.45 kB / 0.7907 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.2803, allocations: 3.938 kB / 0.7907 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002408/0.2805, allocations: 105.5 kB / 0.7908 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.2806, allocations: 55.41 kB / 0.7909 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.24e-05/0.2807, allocations: 121.9 kB / 0.791 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.2807, allocations: 33.7 kB / 0.791 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.51e-05/0.2808, allocations: 96.22 kB / 0.7911 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.2808, allocations: 7.906 kB / 0.7911 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.936e-05/0.2808, allocations: 12 kB / 0.7911 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.281, allocations: 314.8 kB / 0.7914 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.2811, allocations: 63.91 kB / 0.7915 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.2812, allocations: 96.2 kB / 0.7916 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.2814, allocations: 115.4 kB / 0.7917 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2814, allocations: 0 / 0.7917 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003918/0.2818, allocations: 260.8 kB / 0.7919 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.153e-05/0.2818, allocations: 67.41 kB / 0.792 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2819, allocations: 0 / 0.792 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2819, allocations: 7.984 kB / 0.792 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.195e-05/0.2819, allocations: 0 / 0.792 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.2819, allocations: 7.938 kB / 0.792 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003676/0.2823, allocations: 79.14 kB / 0.7921 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/0.2823, allocations: 27.94 kB / 0.7921 GB, free: 6.703 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,nand1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001052/0.2825, allocations: 117.8 kB / 0.7922 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.878e-06/0.2825, allocations: 0 / 0.7922 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.2825, allocations: 16.83 kB / 0.7923 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2825, allocations: 64 / 0.7923 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.2825, allocations: 4 kB / 0.7923 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2825, allocations: 0 / 0.7923 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.2827, allocations: 177.6 kB / 0.7924 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2827, allocations: 3.938 kB / 0.7924 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.165e-06/0.2827, allocations: 4 kB / 0.7924 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2827, allocations: 7.984 kB / 0.7924 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.2827, allocations: 0 / 0.7924 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2827, allocations: 0 / 0.7924 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2828, allocations: 0 / 0.7924 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.2829, allocations: 116.9 kB / 0.7926 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.092e-05/0.283, allocations: 81.02 kB / 0.7926 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.283, allocations: 4 kB / 0.7926 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.793e-05/0.283, allocations: 4 kB / 0.7926 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.2831, allocations: 11.98 kB / 0.7927 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.2831, allocations: 0 / 0.7927 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.192e-05/0.2831, allocations: 91.27 kB / 0.7927 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2831, allocations: 0 / 0.7927 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002309/0.2834, allocations: 28 kB / 0.7928 GB, free: 5.953 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nand1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004827/0.2839, allocations: 0.6669 MB / 0.7934 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003487/0.2842, allocations: 246.6 kB / 0.7937 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2842, allocations: 0 / 0.7937 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.687e-05/0.2843, allocations: 23.98 kB / 0.7937 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.2845, allocations: 15.98 kB / 0.7937 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.2856, allocations: 0.7022 MB / 0.7944 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.2859, allocations: 0.6848 MB / 0.795 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.827e-05/0.2859, allocations: 7.984 kB / 0.7951 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.2859, allocations: 15.91 kB / 0.7951 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2859, allocations: 0 / 0.7951 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01306/0.299, allocations: 2.578 MB / 0.7976 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/0.2992, allocations: 189.3 kB / 0.7978 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/2.021, allocations: 3.125 kB / 0.7978 GB, free: 0.7773 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) Environment - environmentSimulation: