Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.689/1.689, allocations: 288.4 MB / 303.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.0009624/0.0009624, allocations: 182.6 kB / 372 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.86/1.86, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0008762/0.0008762, allocations: 91.25 kB / 0.7441 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000488/0.0004882, allocations: 12.81 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2626, allocations: 115.3 MB / 0.9797 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.0008734/0.2635, allocations: 386.8 kB / 0.98 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.2651, allocations: 1.165 MB / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.604e-05/0.2652, allocations: 4 kB / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.328e-05/0.2652, allocations: 0 / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.87e-05/0.2653, allocations: 11.92 kB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006999/0.266, allocations: 197.6 kB / 0.9814 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.2662, allocations: 131.7 kB / 0.9815 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.834e-05/0.2663, allocations: 12 kB / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.403e-05/0.2664, allocations: 59.88 kB / 0.9816 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.445e-05/0.2665, allocations: 43.88 kB / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.2665, allocations: 8 kB / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.542e-05/0.2666, allocations: 23.97 kB / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.2666, allocations: 11.94 kB / 0.9817 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.2666, allocations: 37.7 kB / 0.9817 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.2668, allocations: 104 kB / 0.9818 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.2668, allocations: 0 / 0.9818 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.605e-06/0.2668, allocations: 0 / 0.9818 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.2668, allocations: 0 / 0.9818 GB, free: 25.39 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004079/0.2672, allocations: 412 kB / 0.9822 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.2673, allocations: 12.02 kB / 0.9822 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.534e-05/0.2673, allocations: 38.55 kB / 0.9822 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.2674, allocations: 11.91 kB / 0.9822 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.893e-05/0.2675, allocations: 171 kB / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.2675, allocations: 7.938 kB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.2675, allocations: 8 kB / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.2676, allocations: 49.67 kB / 0.9825 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.2677, allocations: 4 kB / 0.9825 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.2677, allocations: 4 kB / 0.9825 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.2677, allocations: 0 / 0.9825 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.749e-05/0.2677, allocations: 12 kB / 0.9825 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.2681, allocations: 352.6 kB / 0.9828 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.86e-05/0.2682, allocations: 46.44 kB / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.378e-05/0.2683, allocations: 12.86 kB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.2683, allocations: 8 kB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.2684, allocations: 79.45 kB / 0.983 GB, free: 24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.2684, allocations: 0 / 0.983 GB, free: 24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002249/0.2686, allocations: 105.5 kB / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.2687, allocations: 55.41 kB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.146e-05/0.2688, allocations: 118 kB / 0.9832 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.2688, allocations: 33.7 kB / 0.9833 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.2689, allocations: 96.22 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.201e-05/0.2689, allocations: 11.91 kB / 0.9834 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.2689, allocations: 0 / 0.9834 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.005e-05/0.269, allocations: 322.8 kB / 0.9837 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.2691, allocations: 55.97 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.2692, allocations: 88.27 kB / 0.9838 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.2693, allocations: 123.3 kB / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2693, allocations: 480 / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003292/0.2697, allocations: 264.7 kB / 0.9842 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.708e-05/0.2697, allocations: 67.39 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2698, allocations: 4 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2698, allocations: 0 / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.246e-05/0.2698, allocations: 12.12 kB / 0.9843 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2698, allocations: 0 / 0.9843 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000389/0.2702, allocations: 77.7 kB / 0.9843 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.2702, allocations: 16 kB / 0.9844 GB, free: 22.47 MB / 0.6198 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 8.475e-05/0.2703, allocations: 125.8 kB / 0.9845 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.2704, allocations: 11.91 kB / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.723e-05/0.2704, allocations: 8.359 kB / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2704, allocations: 4 kB / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.2704, allocations: 3.984 kB / 0.9845 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2704, allocations: 4 kB / 0.9845 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.752e-05/0.2705, allocations: 177.6 kB / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.2705, allocations: 0 / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-06/0.2705, allocations: 3.984 kB / 0.9847 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.2705, allocations: 0 / 0.9847 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.2706, allocations: 7.938 kB / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2706, allocations: 0 / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2706, allocations: 0 / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.2707, allocations: 120.9 kB / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.45e-05/0.2707, allocations: 81.02 kB / 0.9849 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.2707, allocations: 0 / 0.9849 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.96e-05/0.2708, allocations: 0 / 0.9849 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.2708, allocations: 7.984 kB / 0.9849 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.2708, allocations: 8 kB / 0.9849 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.126e-05/0.2709, allocations: 91.27 kB / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2709, allocations: 0 / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002048/0.2711, allocations: 28 kB / 0.985 GB, free: 21.71 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: 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.000367/0.2715, allocations: 0.656 MB / 0.9856 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002709/0.2717, allocations: 242.7 kB / 0.9859 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2717, allocations: 0 / 0.9859 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.873e-05/0.2718, allocations: 35.98 kB / 0.9859 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.272, allocations: 20.23 kB / 0.9859 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009375/0.273, allocations: 0.6981 MB / 0.9866 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.2731, allocations: 0.6886 MB / 0.9873 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.824e-05/0.2731, allocations: 8 kB / 0.9873 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.2732, allocations: 19.38 kB / 0.9873 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2732, allocations: 0 / 0.9873 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01312/0.2863, allocations: 2.579 MB / 0.9898 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001403/0.2865, allocations: 203.4 kB / 0.99 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/1.828, allocations: 0 / 0.99 GB, free: 16.55 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)