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.Nand.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.Nand,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.499/1.499, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.00105/0.00105, allocations: 180.6 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.1/2.1, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.001034/0.001034, allocations: 95.73 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004105/0.0004106, allocations: 9.531 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2895, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001812/0.2914, allocations: 1.091 MB / 0.9012 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005812/0.292, allocations: 189.8 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.462e-05/0.2921, allocations: 4 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.504e-05/0.2922, allocations: 3.938 kB / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.2923, allocations: 15.97 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.2925, allocations: 11.94 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.807e-05/0.2926, allocations: 39.94 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.2927, allocations: 4 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.989e-05/0.2928, allocations: 23.91 kB / 0.9015 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.952e-05/0.2929, allocations: 15.92 kB / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.2929, allocations: 4 kB / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/0.2929, allocations: 4 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.293, allocations: 11.92 kB / 0.9015 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.438e-05/0.293, allocations: 37.64 kB / 0.9016 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.529e-05/0.2931, allocations: 27.94 kB / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2931, allocations: 0 / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.236e-06/0.2931, allocations: 0 / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.2932, allocations: 0 / 0.9016 GB, free: 62.33 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006181/0.2938, allocations: 375.5 kB / 0.902 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.2938, allocations: 8.031 kB / 0.902 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.677e-05/0.2939, allocations: 30.56 kB / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.2939, allocations: 4 kB / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.2941, allocations: 190.8 kB / 0.9022 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.2941, allocations: 7.984 kB / 0.9022 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.2941, allocations: 4 kB / 0.9022 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.2943, allocations: 49.69 kB / 0.9022 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2943, allocations: 4 kB / 0.9022 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.2943, allocations: 0 / 0.9022 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2943, allocations: 0 / 0.9022 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.241e-05/0.2944, allocations: 23.98 kB / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.2949, allocations: 280.8 kB / 0.9025 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.2951, allocations: 42.56 kB / 0.9026 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.2951, allocations: 7.938 kB / 0.9026 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.2953, allocations: 71.58 kB / 0.9027 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.2953, allocations: 0 / 0.9027 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002293/0.2955, allocations: 89.53 kB / 0.9027 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.2956, allocations: 55.39 kB / 0.9028 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.629e-05/0.2957, allocations: 118.1 kB / 0.9029 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.2957, allocations: 29.7 kB / 0.9029 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.2957, allocations: 92.05 kB / 0.903 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.2957, allocations: 7.906 kB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-06/0.2958, allocations: 4 kB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.533e-05/0.2958, allocations: 318.8 kB / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.975e-05/0.2959, allocations: 16 kB / 0.9033 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.035e-05/0.2959, allocations: 38.5 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.485e-05/0.296, allocations: 24.28 kB / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.296, allocations: 0 / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001047/0.2961, allocations: 77.53 kB / 0.9035 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.2961, allocations: 4 kB / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2961, allocations: 192 / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.2961, allocations: 4 kB / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.448e-05/0.2962, allocations: 11.92 kB / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.2962, allocations: 0 / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.2963, allocations: 31.94 kB / 0.9035 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.2963, allocations: 0 / 0.9035 GB, free: 60.12 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,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): 9 * 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 8.866e-05/0.2964, allocations: 119 kB / 0.9036 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.2965, allocations: 7.906 kB / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.186e-05/0.2965, allocations: 8.375 kB / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.2965, allocations: 4 kB / 0.9037 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2965, allocations: 0 / 0.9037 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-06/0.2965, allocations: 0 / 0.9037 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.2967, allocations: 177.6 kB / 0.9038 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.2967, allocations: 4 kB / 0.9038 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.867e-06/0.2967, allocations: 0 / 0.9038 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.2967, allocations: 0 / 0.9038 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.2967, allocations: 7.984 kB / 0.9038 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.2967, allocations: 4 kB / 0.9038 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2967, allocations: 0 / 0.9038 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.2969, allocations: 108.8 kB / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.532e-05/0.2969, allocations: 77.11 kB / 0.904 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.2969, allocations: 8 kB / 0.904 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.297, allocations: 11.98 kB / 0.904 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/0.2971, allocations: 15.97 kB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.2971, allocations: 8 kB / 0.9041 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.92e-05/0.2972, allocations: 83.28 kB / 0.9041 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2972, allocations: 0 / 0.9041 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000206/0.2974, allocations: 12 kB / 0.9042 GB, free: 59.38 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,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.0003621/0.2977, allocations: 0.6397 MB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.2979, allocations: 47.91 kB / 0.9048 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2979, allocations: 0 / 0.9048 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.86e-05/0.2979, allocations: 27.92 kB / 0.9049 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.2982, allocations: 20.11 kB / 0.9049 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000805/0.299, allocations: 0.7796 MB / 0.9056 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.2992, allocations: 0.6907 MB / 0.9063 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.573e-05/0.2992, allocations: 11.97 kB / 0.9063 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.662e-05/0.2993, allocations: 19.44 kB / 0.9063 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2993, allocations: 0 / 0.9063 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01561/0.3149, allocations: 1.59 MB / 0.9079 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002404/0.3153, allocations: 191.7 kB / 0.9081 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/1.86, allocations: 3.938 kB / 0.9081 GB, free: 55.33 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)