Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 117.1 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002171/0.002171, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.52/1.52, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.033/3.033, allocations: 0.49 GB / 0.7923 GB, free: 1.316 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 69.88 kB / 1.15 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8839/0.8861, allocations: 176.1 MB / 1.321 GB, free: 24.74 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.001855/0.8879, allocations: 0.7433 MB / 1.322 GB, free: 24.28 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.889, allocations: 1.191 MB / 1.323 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.362e-05/0.8891, allocations: 3.938 kB / 1.323 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.8892, allocations: 21.38 kB / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.901e-05/0.8892, allocations: 10.81 kB / 1.323 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004005/0.8896, allocations: 132.5 kB / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.8898, allocations: 122.3 kB / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.89e-05/0.8899, allocations: 30.72 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.967e-05/0.8899, allocations: 43.31 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.929e-05/0.89, allocations: 45.7 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.89, allocations: 10.81 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.694e-05/0.8901, allocations: 21.16 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.8901, allocations: 9.828 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.753e-05/0.8901, allocations: 40.92 kB / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.8903, allocations: 120.6 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.8903, allocations: 4 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.273e-06/0.8903, allocations: 0 / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.8903, allocations: 3.938 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004375/0.8907, allocations: 410.7 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.8908, allocations: 12.55 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.469e-05/0.8908, allocations: 7.062 kB / 1.324 GB, free: 22.69 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.941e-05/0.8908, allocations: 30.75 kB / 1.324 GB, free: 22.65 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.8909, allocations: 10.7 kB / 1.324 GB, free: 22.65 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.8911, allocations: 213.5 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.8911, allocations: 7.094 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.8911, allocations: 5.906 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.8912, allocations: 86.11 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.8912, allocations: 4 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.8912, allocations: 0 / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.8912, allocations: 3 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.342e-05/0.8913, allocations: 19.02 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/0.8916, allocations: 493.3 kB / 1.325 GB, free: 21.87 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.159e-05/0.8916, allocations: 24.58 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.291e-05/0.8916, allocations: 4.859 kB / 1.325 GB, free: 21.83 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.8916, allocations: 2.781 kB / 1.325 GB, free: 21.83 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.228e-05/0.8917, allocations: 58.91 kB / 1.325 GB, free: 21.78 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.8917, allocations: 0 / 1.325 GB, free: 21.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0001684/0.8919, allocations: 68.91 kB / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.8919, allocations: 57.56 kB / 1.325 GB, free: 21.67 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.122e-05/0.892, allocations: 155.8 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.892, allocations: 28.55 kB / 1.326 GB, free: 21.51 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.8921, allocations: 97.73 kB / 1.326 GB, free: 21.42 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.035e-05/0.8921, allocations: 11.27 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.634e-05/0.8922, allocations: 34.91 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.143e-05/0.8922, allocations: 318.2 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.63e-05/0.8923, allocations: 28.56 kB / 1.326 GB, free: 21.06 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.195e-05/0.8923, allocations: 49.02 kB / 1.326 GB, free: 21.03 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.134e-05/0.8924, allocations: 82.91 kB / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8924, allocations: 4 kB / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002089/0.8926, allocations: 149.1 kB / 1.326 GB, free: 20.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.8926, allocations: 38.86 kB / 1.326 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.8926, allocations: 2.812 kB / 1.326 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.8927, allocations: 0 / 1.326 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.556e-05/0.8927, allocations: 6.75 kB / 1.326 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.8927, allocations: 0 / 1.326 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.8929, allocations: 30.17 kB / 1.326 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.8929, allocations: 9.562 kB / 1.326 GB, free: 20.81 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (pul.y,$PRE.pul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 5.73e-05/0.893, allocations: 118.5 kB / 1.327 GB, free: 20.69 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.893, allocations: 10.39 kB / 1.327 GB, free: 20.68 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.072e-05/0.893, allocations: 10.91 kB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.893, allocations: 3.938 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.893, allocations: 2.625 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.893, allocations: 0 / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.6e-05/0.8931, allocations: 174.6 kB / 1.327 GB, free: 20.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.8931, allocations: 3.469 kB / 1.327 GB, free: 20.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-06/0.8931, allocations: 4 kB / 1.327 GB, free: 20.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.8931, allocations: 2.438 kB / 1.327 GB, free: 20.46 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.8931, allocations: 3.984 kB / 1.327 GB, free: 20.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.8931, allocations: 3.938 kB / 1.327 GB, free: 20.45 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.8931, allocations: 0 / 1.327 GB, free: 20.45 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.121e-05/0.8932, allocations: 85.39 kB / 1.327 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.31e-05/0.8932, allocations: 81.06 kB / 1.327 GB, free: 20.28 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.8932, allocations: 7.125 kB / 1.327 GB, free: 20.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.794e-05/0.8932, allocations: 7.938 kB / 1.327 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.8933, allocations: 3.281 kB / 1.327 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.8933, allocations: 2.812 kB / 1.327 GB, free: 20.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.97e-05/0.8933, allocations: 115.2 kB / 1.327 GB, free: 20.18 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8933, allocations: 0 / 1.327 GB, free: 20.18 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002153/0.8935, allocations: 17.83 kB / 1.327 GB, free: 20.18 MB / 1.061 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,$whenCondition2,pul.y) * 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 (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.0002379/0.8938, allocations: 0.6286 MB / 1.328 GB, free: 19.57 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001706/0.8939, allocations: 108.4 kB / 1.328 GB, free: 19.49 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8939, allocations: 0 / 1.328 GB, free: 19.49 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.308e-05/0.894, allocations: 17.05 kB / 1.328 GB, free: 19.48 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.8942, allocations: 13.34 kB / 1.328 GB, free: 19.47 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.8953, allocations: 1.52 MB / 1.329 GB, free: 18.16 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.81e-05/0.8954, allocations: 0.6862 MB / 1.33 GB, free: 17.47 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.259e-05/0.8954, allocations: 8.281 kB / 1.33 GB, free: 17.47 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.177e-05/0.8954, allocations: 18.25 kB / 1.33 GB, free: 17.45 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.8954, allocations: 0 / 1.33 GB, free: 17.45 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.9153, allocations: 2.461 MB / 1.332 GB, free: 17.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.568/9.483, allocations: 18.36 kB / 1.332 GB, free: 17.01 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.889007596997544] Failed to read output from testmodel.py, exit status != 0: 9.610097273020074 9.63065688 8.736540448 Calling exit ...