Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.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.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",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.67/1.67, allocations: 251.9 MB / 266.9 MB, free: 11 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.001225/0.001225, allocations: 182.8 kB / 326.5 MB, free: 2.234 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.134/2.134, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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: 105 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003717, allocations: 10.72 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2722, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001642/0.2739, allocations: 1.001 MB / 0.9012 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000404/0.2743, allocations: 178.4 kB / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.2744, allocations: 0 / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.778e-05/0.2744, allocations: 0 / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.815e-05/0.2745, allocations: 4 kB / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.2746, allocations: 7.922 kB / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.553e-05/0.2747, allocations: 19.92 kB / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.492e-05/0.2748, allocations: 7.984 kB / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.059e-05/0.2748, allocations: 11.98 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.2749, allocations: 4 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.2749, allocations: 3.938 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.241e-05/0.275, allocations: 0 / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.275, allocations: 7.984 kB / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.151e-05/0.275, allocations: 29.7 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.232e-05/0.2751, allocations: 7.984 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2751, allocations: 0 / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.775e-06/0.2751, allocations: 0 / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2751, allocations: 0 / 0.9014 GB, free: 62.52 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005512/0.2757, allocations: 335.4 kB / 0.9017 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/0.2758, allocations: 8.031 kB / 0.9017 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.517e-05/0.2758, allocations: 30.56 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.2759, allocations: 7.938 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.276, allocations: 179.1 kB / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.2761, allocations: 0 / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.2761, allocations: 4 kB / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.2762, allocations: 45.62 kB / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2762, allocations: 0 / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.2762, allocations: 0 / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.2762, allocations: 0 / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.173e-05/0.2763, allocations: 4 kB / 0.902 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.2765, allocations: 157.6 kB / 0.9022 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.657e-05/0.2765, allocations: 30.59 kB / 0.9022 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.2766, allocations: 0 / 0.9022 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.2767, allocations: 59.41 kB / 0.9022 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2768, allocations: 0 / 0.9022 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001947/0.277, allocations: 53.69 kB / 0.9023 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.277, allocations: 51.41 kB / 0.9023 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.148e-05/0.2771, allocations: 101.8 kB / 0.9024 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.2771, allocations: 29.7 kB / 0.9025 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.035e-05/0.2772, allocations: 84.12 kB / 0.9026 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.2772, allocations: 11.91 kB / 0.9026 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.2772, allocations: 3.938 kB / 0.9026 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.692e-05/0.2773, allocations: 314.8 kB / 0.9029 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.2773, allocations: 7.938 kB / 0.9029 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.866e-05/0.2773, allocations: 25.7 kB / 0.9029 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.288e-05/0.2774, allocations: 4 kB / 0.9029 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2774, allocations: 4 kB / 0.9029 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.23e-05/0.2775, allocations: 53.62 kB / 0.903 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.2775, allocations: 4 kB / 0.903 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2775, allocations: 0 / 0.903 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.2775, allocations: 4 kB / 0.903 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.734e-05/0.2776, allocations: 0 / 0.903 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.2776, allocations: 7.984 kB / 0.903 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.379e-05/0.2776, allocations: 7.984 kB / 0.903 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.341e-06/0.2777, allocations: 0.5156 kB / 0.903 GB, free: 60.69 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.7e-05/0.2777, allocations: 121.8 kB / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-06/0.2777, allocations: 0 / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/0.2778, allocations: 3.5 kB / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.2778, allocations: 7.984 kB / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2778, allocations: 3.938 kB / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2778, allocations: 0 / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.2779, allocations: 169.5 kB / 0.9033 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2779, allocations: 0 / 0.9033 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.478e-06/0.278, allocations: 0 / 0.9033 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.278, allocations: 0 / 0.9033 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.278, allocations: 4 kB / 0.9033 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.278, allocations: 4 kB / 0.9033 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.278, allocations: 0 / 0.9033 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.341e-05/0.2781, allocations: 73.06 kB / 0.9034 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.2781, allocations: 85.06 kB / 0.9034 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.2782, allocations: 3.984 kB / 0.9034 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.696e-05/0.2782, allocations: 4 kB / 0.9034 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.2783, allocations: 11.98 kB / 0.9035 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.2783, allocations: 4 kB / 0.9035 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.3e-05/0.2783, allocations: 79.28 kB / 0.9035 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2783, allocations: 0 / 0.9035 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001729/0.2785, allocations: 4 kB / 0.9035 GB, free: 60.02 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: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003514/0.2789, allocations: 0.624 MB / 0.9041 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.707e-05/0.279, allocations: 16 kB / 0.9042 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.279, allocations: 0 / 0.9042 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.538e-05/0.279, allocations: 15.98 kB / 0.9042 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.2792, allocations: 12.62 kB / 0.9042 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006762/0.2799, allocations: 0.5155 MB / 0.9047 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.2801, allocations: 0.677 MB / 0.9054 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.506e-05/0.2801, allocations: 4.25 kB / 0.9054 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/0.2801, allocations: 7.438 kB / 0.9054 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2801, allocations: 0 / 0.9054 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0118/0.292, allocations: 1.116 MB / 0.9065 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.2922, allocations: 206.2 kB / 0.9066 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.487/1.779, allocations: 0 / 0.9066 GB, free: 56.86 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)