Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_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.47/1.47, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.001114/0.001114, allocations: 182.9 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.854/1.854, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009227/0.000923, allocations: 101.7 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.000334, allocations: 15.75 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2051, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.001191/0.2064, allocations: 1.064 MB / 0.9012 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002615/0.2066, allocations: 125.9 kB / 0.9013 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.166e-05/0.2067, allocations: 7.938 kB / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.681e-05/0.2067, allocations: 3.938 kB / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.166e-05/0.2068, allocations: 7.984 kB / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000117/0.2069, allocations: 7.984 kB / 0.9014 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.34e-05/0.2069, allocations: 27.95 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.281e-05/0.207, allocations: 7.938 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.534e-05/0.2071, allocations: 23.92 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.855e-05/0.2071, allocations: 7.984 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.2071, allocations: 7.938 kB / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.092e-05/0.2071, allocations: 0 / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.2072, allocations: 7.984 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.2072, allocations: 29.7 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.947e-05/0.2073, allocations: 31.92 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.2073, allocations: 0 / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2073, allocations: 0 / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.2073, allocations: 0 / 0.9015 GB, free: 62.45 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004581/0.2077, allocations: 355.6 kB / 0.9018 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2078, allocations: 8.031 kB / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.678e-05/0.2078, allocations: 30.56 kB / 0.9019 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/0.2079, allocations: 7.906 kB / 0.9019 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.639e-05/0.2079, allocations: 167 kB / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.2079, allocations: 7.984 kB / 0.902 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.208, allocations: 8 kB / 0.902 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.2081, allocations: 65.66 kB / 0.9021 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.2082, allocations: 0 / 0.9021 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.2082, allocations: 4 kB / 0.9021 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.2082, allocations: 0 / 0.9021 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.2084, allocations: 55.95 kB / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002702/0.2087, allocations: 256.9 kB / 0.9024 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.2089, allocations: 78.47 kB / 0.9025 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-06/0.2089, allocations: 0 / 0.9025 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.2091, allocations: 91.44 kB / 0.9026 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.2091, allocations: 0 / 0.9026 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.00036/0.2095, allocations: 125.5 kB / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.2095, allocations: 51.41 kB / 0.9027 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.12e-05/0.2096, allocations: 121.8 kB / 0.9029 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.2096, allocations: 25.7 kB / 0.9029 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/0.2096, allocations: 88.14 kB / 0.903 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.223e-05/0.2097, allocations: 19.73 kB / 0.903 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.2097, allocations: 0 / 0.903 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.193e-05/0.2097, allocations: 318.8 kB / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.2098, allocations: 35.91 kB / 0.9033 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.666e-05/0.2099, allocations: 43.97 kB / 0.9034 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.21, allocations: 31.97 kB / 0.9034 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.2101, allocations: 0 / 0.9034 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002267/0.2103, allocations: 105.6 kB / 0.9035 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.2103, allocations: 4 kB / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.2103, allocations: 3.938 kB / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.2103, allocations: 0 / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.557e-05/0.2104, allocations: 19.98 kB / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2104, allocations: 4 kB / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.057e-05/0.2105, allocations: 11.98 kB / 0.9035 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.2105, allocations: 7.953 kB / 0.9035 GB, free: 60.12 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.164e-05/0.2106, allocations: 113.8 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-06/0.2106, allocations: 3.906 kB / 0.9037 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.2106, allocations: 7.906 kB / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.2106, allocations: 0 / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2107, allocations: 3.984 kB / 0.9037 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2107, allocations: 0 / 0.9037 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.548e-05/0.2107, allocations: 169.6 kB / 0.9038 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2107, allocations: 0 / 0.9038 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.546e-05/0.2108, allocations: 15.98 kB / 0.9039 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2108, allocations: 0 / 0.9039 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.2108, allocations: 0 / 0.9039 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.2108, allocations: 0 / 0.9039 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2108, allocations: 0 / 0.9039 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.2111, allocations: 133 kB / 0.904 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.769e-05/0.2111, allocations: 81.02 kB / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.2111, allocations: 0 / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.878e-05/0.2112, allocations: 11.98 kB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.2112, allocations: 15.97 kB / 0.9041 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.2113, allocations: 0 / 0.9041 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.308e-05/0.2113, allocations: 87.28 kB / 0.9042 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2113, allocations: 0 / 0.9042 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001698/0.2115, allocations: 12 kB / 0.9042 GB, free: 59.37 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,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0003876/0.2119, allocations: 0.6709 MB / 0.9048 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.2121, allocations: 67.89 kB / 0.9049 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2121, allocations: 4 kB / 0.9049 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.2122, allocations: 35.97 kB / 0.9049 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.2124, allocations: 23.86 kB / 0.905 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004354/0.2128, allocations: 168.3 kB / 0.9051 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.796e-05/0.2129, allocations: 0.6813 MB / 0.9058 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.929e-05/0.213, allocations: 4 kB / 0.9058 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.213, allocations: 10.56 kB / 0.9058 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/0.213, allocations: 0 / 0.9058 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01097/0.224, allocations: 1.455 MB / 0.9072 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001304/0.2241, allocations: 203.9 kB / 0.9074 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/1.757, allocations: 1.406 kB / 0.9074 GB, free: 56.1 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)