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.001168/0.001169, allocations: 101.4 kB / 15.69 MB, free: 140 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 196.8 kB / 16.63 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.803/1.803, allocations: 292.3 MB / 0.549 GB, free: 12.79 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.001477/0.001477, allocations: 73.12 kB / 0.6718 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.279, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002089/0.2811, allocations: 0.6776 MB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.2827, allocations: 1.188 MB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.5e-05/0.2827, allocations: 0 / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.968e-05/0.2828, allocations: 0 / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.771e-05/0.2829, allocations: 15.86 kB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006773/0.2836, allocations: 214 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.2838, allocations: 179.8 kB / 0.7859 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.2839, allocations: 11.98 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.482e-05/0.284, allocations: 79.81 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.2842, allocations: 55.86 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.421e-05/0.2842, allocations: 16 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.765e-05/0.2843, allocations: 31.97 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.097e-05/0.2843, allocations: 11.88 kB / 0.7861 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.708e-05/0.2844, allocations: 55.89 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.2847, allocations: 159.8 kB / 0.7863 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2847, allocations: 0 / 0.7863 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2847, allocations: 0 / 0.7863 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.2847, allocations: 0 / 0.7863 GB, free: 10.55 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.0005793/0.2853, allocations: 438.7 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.2853, allocations: 12.03 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.217e-05/0.2854, allocations: 30.75 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.2854, allocations: 12.92 kB / 0.7867 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.2856, allocations: 168.2 kB / 0.7869 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.2856, allocations: 12.36 kB / 0.7869 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.2856, allocations: 12.38 kB / 0.7869 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.2858, allocations: 46.23 kB / 0.787 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2858, allocations: 3.938 kB / 0.787 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.2858, allocations: 0 / 0.787 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.2858, allocations: 8 kB / 0.787 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.247e-05/0.2859, allocations: 12 kB / 0.787 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.2864, allocations: 356.6 kB / 0.7873 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.627e-05/0.2864, allocations: 30.56 kB / 0.7874 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.2865, allocations: 16.86 kB / 0.7874 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-06/0.2865, allocations: 0 / 0.7874 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/0.2867, allocations: 91.34 kB / 0.7875 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.2867, allocations: 3.938 kB / 0.7875 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002709/0.287, allocations: 101.6 kB / 0.7876 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.2871, allocations: 51.41 kB / 0.7876 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.2872, allocations: 117.8 kB / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.2872, allocations: 33.7 kB / 0.7877 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.18e-05/0.2873, allocations: 96.5 kB / 0.7878 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.2873, allocations: 11.8 kB / 0.7879 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.515e-05/0.2874, allocations: 53.69 kB / 0.7879 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.2876, allocations: 322.8 kB / 0.7882 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.2877, allocations: 67.91 kB / 0.7883 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.2879, allocations: 96.19 kB / 0.7884 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.2881, allocations: 155.6 kB / 0.7885 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.2881, allocations: 0 / 0.7885 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004459/0.2886, allocations: 256.9 kB / 0.7888 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.669e-05/0.2886, allocations: 71.39 kB / 0.7888 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2887, allocations: 0 / 0.7888 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.2887, allocations: 8.125 kB / 0.7888 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.113e-05/0.2887, allocations: 0 / 0.7888 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.2887, allocations: 4 kB / 0.7888 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/0.2891, allocations: 59.78 kB / 0.7889 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/0.2891, allocations: 11.98 kB / 0.7889 GB, free: 7.523 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,nand1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.2893, allocations: 125.7 kB / 0.789 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.2893, allocations: 15.89 kB / 0.789 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.508e-05/0.2893, allocations: 8.375 kB / 0.7891 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2893, allocations: 0 / 0.7891 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2893, allocations: 64 / 0.7891 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.2893, allocations: 4 kB / 0.7891 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.2895, allocations: 173.6 kB / 0.7892 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2895, allocations: 0 / 0.7892 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.367e-05/0.2895, allocations: 7.984 kB / 0.7892 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2895, allocations: 0 / 0.7892 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.2896, allocations: 0 / 0.7892 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2896, allocations: 4.312 kB / 0.7892 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.2896, allocations: 0 / 0.7892 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.2898, allocations: 122.1 kB / 0.7893 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/0.2898, allocations: 92.89 kB / 0.7894 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.2898, allocations: 0 / 0.7894 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.177e-05/0.2899, allocations: 4 kB / 0.7894 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.2899, allocations: 7.984 kB / 0.7894 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.29, allocations: 4 kB / 0.7895 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.174e-05/0.29, allocations: 95.27 kB / 0.7895 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.29, allocations: 0 / 0.7895 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002441/0.2903, allocations: 28 kB / 0.7896 GB, free: 6.75 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005686/0.2909, allocations: 0.6513 MB / 0.7902 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003846/0.2913, allocations: 250.7 kB / 0.7904 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2913, allocations: 0 / 0.7904 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.3e-05/0.2913, allocations: 23.98 kB / 0.7905 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.2916, allocations: 16.92 kB / 0.7905 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.2936, allocations: 1.714 MB / 0.7922 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.2939, allocations: 0.6885 MB / 0.7928 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.276e-05/0.294, allocations: 8.344 kB / 0.7928 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.716e-05/0.294, allocations: 19.42 kB / 0.7929 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of SimCode: time 4.1e-07/0.294, allocations: 4 kB / 0.7929 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01985/0.3139, allocations: 2.871 MB / 0.7957 GB, free: 416 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.307/7.62, allocations: 14.77 kB / 0.7957 GB, free: 404 kB / 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/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)