Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001662/0.001662, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002041/0.002041, allocations: 220.1 kB / 23.03 MB, free: 4.922 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.574/1.574, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.793/2.793, allocations: 476.8 MB / 0.7715 GB, free: 3.879 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_11_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.002016/0.002016, allocations: 64.2 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3277, allocations: 170 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.00248/0.3301, allocations: 0.7288 MB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.3319, allocations: 1.168 MB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.336e-05/0.332, allocations: 7.938 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.3322, allocations: 19.8 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.873e-05/0.3322, allocations: 7.938 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005272/0.3327, allocations: 132.2 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.333, allocations: 135.6 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.3331, allocations: 23.98 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.433e-05/0.3332, allocations: 43.91 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.3333, allocations: 39.83 kB / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.3334, allocations: 12 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.649e-05/0.3334, allocations: 19.98 kB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.3335, allocations: 11.88 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.632e-05/0.3335, allocations: 43.83 kB / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.3338, allocations: 108.8 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3338, allocations: 0 / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3338, allocations: 0 / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3338, allocations: 0 / 1.287 GB, free: 8.164 MB / 0.9825 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.0005846/0.3344, allocations: 343.7 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3344, allocations: 12.03 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.692e-05/0.3345, allocations: 192 / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.026e-05/0.3345, allocations: 38.67 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.824e-05/0.3345, allocations: 20.89 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.3348, allocations: 140.8 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.3348, allocations: 8.375 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.3349, allocations: 8.312 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.335, allocations: 72.58 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.335, allocations: 4 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.335, allocations: 0 / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.335, allocations: 0 / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.218e-05/0.3351, allocations: 19.92 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.3356, allocations: 460.1 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.62e-05/0.3356, allocations: 22.56 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.051e-05/0.3357, allocations: 8.922 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-06/0.3357, allocations: 0 / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001142/0.3358, allocations: 59.39 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.3358, allocations: 0 / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0001989/0.336, allocations: 77.75 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.336, allocations: 51.41 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.3362, allocations: 152.5 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.3362, allocations: 33.69 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/0.3363, allocations: 96.09 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.145e-06/0.3363, allocations: 0 / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.378e-05/0.3364, allocations: 29.7 kB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.3365, allocations: 322.8 kB / 1.288 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.658e-05/0.3366, allocations: 61.62 kB / 1.288 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.3367, allocations: 80.25 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.3368, allocations: 88.2 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3368, allocations: 0 / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002937/0.3371, allocations: 180.9 kB / 1.289 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.621e-05/0.3372, allocations: 41.69 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3372, allocations: 0 / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3372, allocations: 0 / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.837e-05/0.3372, allocations: 7.938 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3372, allocations: 0 / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.3374, allocations: 28.06 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.3374, allocations: 11.92 kB / 1.289 GB, free: 5.465 MB / 0.9825 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 0.0001065/0.3375, allocations: 123.1 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.859e-05/0.3376, allocations: 7.953 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.3376, allocations: 8.344 kB / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3376, allocations: 7.938 kB / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3376, allocations: 0 / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3376, allocations: 0 / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.3377, allocations: 144.7 kB / 1.289 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3377, allocations: 4 kB / 1.289 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.513e-06/0.3378, allocations: 0 / 1.289 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.3378, allocations: 3.984 kB / 1.289 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.3378, allocations: 0 / 1.289 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.3378, allocations: 8 kB / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3378, allocations: 0 / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.3379, allocations: 85.08 kB / 1.289 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.3379, allocations: 3.953 kB / 1.289 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.3379, allocations: 7.938 kB / 1.289 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.558e-05/0.3379, allocations: 11.92 kB / 1.289 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.338, allocations: 0 / 1.289 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.338, allocations: 8 kB / 1.289 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.281e-05/0.3381, allocations: 107.2 kB / 1.289 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3381, allocations: 0 / 1.289 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000226/0.3383, allocations: 19.94 kB / 1.289 GB, free: 4.852 MB / 0.9825 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.0004875/0.3388, allocations: 0.628 MB / 1.29 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.339, allocations: 137 kB / 1.29 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.339, allocations: 0 / 1.29 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.207e-05/0.3391, allocations: 12 kB / 1.29 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.3393, allocations: 20.11 kB / 1.29 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.3412, allocations: 1.625 MB / 1.292 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.756e-05/0.3413, allocations: 71.33 kB / 1.292 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.098e-05/0.3413, allocations: 4 kB / 1.292 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/0.3413, allocations: 27.42 kB / 1.292 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.3413, allocations: 0 / 1.292 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.3662, allocations: 2.652 MB / 1.294 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.19, allocations: 14.8 kB / 1.294 GB, free: 15.65 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.012702955980785] Failed to read output from testmodel.py, exit status != 0: 12.867295406991616 12.374237717 12.036578633 Calling exit ...