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.001513/0.001513, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001529/0.001529, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.8/2.8, allocations: 476.7 MB / 0.7715 GB, free: 4.262 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.002099/0.002099, allocations: 62.11 kB / 1.118 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3632, allocations: 169.9 MB / 1.284 GB, free: 11.77 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.002267/0.3654, allocations: 0.7588 MB / 1.285 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.3671, allocations: 1.188 MB / 1.286 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.553e-05/0.3672, allocations: 3.938 kB / 1.286 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.3673, allocations: 23.84 kB / 1.286 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.225e-05/0.3673, allocations: 7.875 kB / 1.286 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004903/0.3678, allocations: 146.5 kB / 1.286 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.368, allocations: 123.8 kB / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3682, allocations: 23.78 kB / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.591e-05/0.3682, allocations: 47.84 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.3683, allocations: 43.83 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.3684, allocations: 8 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.828e-05/0.3684, allocations: 19.98 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.3685, allocations: 11.94 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.512e-05/0.3685, allocations: 47.83 kB / 1.287 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.3687, allocations: 111.7 kB / 1.287 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3687, allocations: 0 / 1.287 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.31e-07/0.3687, allocations: 0 / 1.287 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.3687, allocations: 0 / 1.287 GB, free: 9.215 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.0005047/0.3692, allocations: 343.7 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3693, allocations: 8.031 kB / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.337e-05/0.3693, allocations: 192 / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.413e-05/0.3693, allocations: 38.73 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.3694, allocations: 8.891 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.3696, allocations: 146.4 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.3696, allocations: 8.375 kB / 1.287 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.3697, allocations: 8.375 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.3698, allocations: 76.52 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3698, allocations: 0 / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.3698, allocations: 0 / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.3698, allocations: 0 / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.36e-05/0.3699, allocations: 23.86 kB / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005209/0.3704, allocations: 472.1 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.329e-05/0.3705, allocations: 22.52 kB / 1.288 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.3705, allocations: 8.859 kB / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.3705, allocations: 64 / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/0.3706, allocations: 67.38 kB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3706, allocations: 0 / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0001915/0.3708, allocations: 65.58 kB / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.3708, allocations: 55.41 kB / 1.288 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.371, allocations: 151.8 kB / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.371, allocations: 33.7 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.622e-05/0.3711, allocations: 96.09 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.3711, allocations: 11.94 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.755e-05/0.3712, allocations: 33.7 kB / 1.288 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3713, allocations: 318.8 kB / 1.289 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.926e-05/0.3714, allocations: 31.97 kB / 1.289 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.703e-05/0.3715, allocations: 54.5 kB / 1.289 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.3716, allocations: 84.2 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3716, allocations: 4 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002664/0.3719, allocations: 147.2 kB / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.93e-05/0.3719, allocations: 37.7 kB / 1.289 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3719, allocations: 0 / 1.289 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3719, allocations: 0 / 1.289 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.967e-05/0.372, allocations: 7.922 kB / 1.289 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.372, allocations: 4 kB / 1.289 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.3722, allocations: 23.97 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.3722, allocations: 8.094 kB / 1.289 GB, free: 6.609 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.0001122/0.3723, allocations: 115.2 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.3723, allocations: 7.953 kB / 1.289 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.368e-05/0.3724, allocations: 16.33 kB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3724, allocations: 7.875 kB / 1.289 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3724, allocations: 0 / 1.289 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3724, allocations: 0 / 1.289 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.3725, allocations: 144.7 kB / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3725, allocations: 0 / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.761e-06/0.3725, allocations: 0 / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3725, allocations: 8 kB / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.3725, allocations: 0 / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3725, allocations: 3.938 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.3725, allocations: 0 / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.3727, allocations: 81.08 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.069e-05/0.3727, allocations: 11.95 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.3727, allocations: 11.92 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.914e-05/0.3727, allocations: 3.938 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.3728, allocations: 4 kB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-06/0.3728, allocations: 4 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001108/0.3729, allocations: 110.4 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3729, allocations: 3.938 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002455/0.3731, allocations: 23.94 kB / 1.289 GB, free: 5.992 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.0005247/0.3736, allocations: 0.6283 MB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.3739, allocations: 111.3 kB / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3739, allocations: 7.938 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.872e-05/0.3739, allocations: 4 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.3742, allocations: 15.78 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.376, allocations: 1.505 MB / 1.292 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.3763, allocations: 0.6885 MB / 1.292 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.869e-05/0.3763, allocations: 7.984 kB / 1.292 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.3764, allocations: 23.44 kB / 1.292 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.3764, allocations: 0 / 1.292 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.4002, allocations: 2.537 MB / 1.295 GB, free: 468 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.8, allocations: 17.7 kB / 1.295 GB, free: 456 kB / 0.9825 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: 18.444100001011975] Failed to read output from testmodel.py, exit status != 0: 12.461919668014161 12.000271566 11.62599317 Calling exit ...