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.001352/0.001352, allocations: 113.9 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.00174/0.00174, 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.507/1.507, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.968/2.968, allocations: 476.7 MB / 0.7678 GB, free: 9.324 MB / 0.6075 GB " [Timeout remaining time 176] 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.001996/0.001996, allocations: 59.91 kB / 1.113 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9149/0.9169, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 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.002483/0.9194, allocations: 0.7588 MB / 1.28 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001811/0.9212, allocations: 1.186 MB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.9213, allocations: 2.156 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.9214, allocations: 23.16 kB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.022e-05/0.9215, allocations: 11.31 kB / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005625/0.922, allocations: 132.2 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.9223, allocations: 129.3 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.9224, allocations: 22.89 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.423e-05/0.9224, allocations: 41.75 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.9225, allocations: 54.03 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.9226, allocations: 9.312 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.562e-05/0.9226, allocations: 19 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.9227, allocations: 7.625 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.407e-05/0.9227, allocations: 46.38 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.923, allocations: 108.2 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.923, allocations: 0 / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.923, allocations: 1.125 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.923, allocations: 0 / 1.281 GB, free: 10.12 MB / 0.9981 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.0005863/0.9236, allocations: 408.2 kB / 1.282 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.9236, allocations: 17.95 kB / 1.282 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.413e-05/0.9237, allocations: 1.031 kB / 1.282 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.502e-05/0.9237, allocations: 37.75 kB / 1.282 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.862e-05/0.9238, allocations: 10.64 kB / 1.282 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.9241, allocations: 213.2 kB / 1.282 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.9241, allocations: 3.75 kB / 1.282 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.9241, allocations: 5.938 kB / 1.282 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.9243, allocations: 80.2 kB / 1.282 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.9243, allocations: 0.5312 kB / 1.282 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.9243, allocations: 5.859 kB / 1.282 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.9243, allocations: 1.062 kB / 1.282 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.542e-05/0.9244, allocations: 14.77 kB / 1.282 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005837/0.9249, allocations: 0.4893 MB / 1.283 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.486e-05/0.925, allocations: 18.47 kB / 1.283 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.925, allocations: 11.56 kB / 1.283 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.925, allocations: 4.469 kB / 1.283 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001298/0.9252, allocations: 57.16 kB / 1.283 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.9252, allocations: 0 / 1.283 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0002264/0.9254, allocations: 70.45 kB / 1.283 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.9254, allocations: 53.27 kB / 1.283 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.9256, allocations: 154 kB / 1.283 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.9256, allocations: 27.89 kB / 1.283 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.588e-05/0.9257, allocations: 105.2 kB / 1.283 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.222e-05/0.9258, allocations: 5.031 kB / 1.283 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.597e-05/0.9258, allocations: 30.22 kB / 1.283 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.926, allocations: 319.9 kB / 1.283 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.471e-05/0.9261, allocations: 32.02 kB / 1.283 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.677e-05/0.9262, allocations: 48.47 kB / 1.284 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.9263, allocations: 79.31 kB / 1.284 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.9263, allocations: 1.531 kB / 1.284 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003015/0.9266, allocations: 157.2 kB / 1.284 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/0.9267, allocations: 36.16 kB / 1.284 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.9267, allocations: 1.5 kB / 1.284 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.9267, allocations: 0 / 1.284 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.98e-05/0.9267, allocations: 5.609 kB / 1.284 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.9267, allocations: 1.469 kB / 1.284 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.9269, allocations: 37.19 kB / 1.284 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.9269, allocations: 6.609 kB / 1.284 GB, free: 7.816 MB / 0.9981 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.0001137/0.9271, allocations: 120.7 kB / 1.284 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.9271, allocations: 12.3 kB / 1.284 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.9271, allocations: 8.438 kB / 1.284 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.9271, allocations: 3.938 kB / 1.284 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.9271, allocations: 4.062 kB / 1.284 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.9271, allocations: 1.766 kB / 1.284 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.9273, allocations: 173.9 kB / 1.284 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.9273, allocations: 2.172 kB / 1.284 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.881e-06/0.9273, allocations: 0 / 1.284 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.9273, allocations: 1.188 kB / 1.284 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.9273, allocations: 4.562 kB / 1.284 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.9273, allocations: 9.984 kB / 1.284 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.9273, allocations: 0 / 1.284 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.9274, allocations: 81.31 kB / 1.284 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.245e-05/0.9275, allocations: 85.06 kB / 1.284 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.9275, allocations: 0.7031 kB / 1.284 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.037e-05/0.9275, allocations: 5.766 kB / 1.284 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.9275, allocations: 2.219 kB / 1.284 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.9276, allocations: 10.14 kB / 1.284 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.704e-05/0.9276, allocations: 112.9 kB / 1.284 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9276, allocations: 0 / 1.284 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002225/0.9279, allocations: 17.56 kB / 1.284 GB, free: 7.188 MB / 0.9981 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.0004886/0.9284, allocations: 0.6249 MB / 1.285 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000261/0.9286, allocations: 109 kB / 1.285 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9286, allocations: 0 / 1.285 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.445e-05/0.9286, allocations: 15.23 kB / 1.285 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.9289, allocations: 15.23 kB / 1.285 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.9307, allocations: 1.511 MB / 1.287 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.931, allocations: 0.6886 MB / 1.287 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.518e-05/0.931, allocations: 11.16 kB / 1.287 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/0.9311, allocations: 23.83 kB / 1.287 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.9311, allocations: 0 / 1.287 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.9506, allocations: 2.476 MB / 1.29 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.576/9.527, allocations: 12.59 kB / 1.29 GB, free: 4.008 MB / 0.9981 GB " [Timeout remaining time 290] (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: 15.887404800974764] Failed to read output from testmodel.py, exit status != 0: 9.65707090095384 9.688910828 8.76005512 Calling exit ...