Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008985/0.0008984, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005057/0.005057, allocations: 172.8 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.461/2.461, allocations: 462.6 MB / 0.7364 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003043/0.0003043, allocations: 11.56 kB / 0.9029 GB, free: 36.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2469, allocations: 159.6 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.0007855/0.2478, allocations: 477.3 kB / 1.059 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.2489, allocations: 1.155 MB / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.108e-05/0.249, allocations: 4 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.2491, allocations: 11.86 kB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.117e-05/0.2491, allocations: 7.938 kB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.2495, allocations: 118.9 kB / 1.061 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.2496, allocations: 123.7 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.091e-05/0.2497, allocations: 27.98 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.322e-05/0.2497, allocations: 27.92 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.309e-05/0.2498, allocations: 39.83 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.2498, allocations: 4 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.897e-05/0.2499, allocations: 19.98 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.2499, allocations: 7.922 kB / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.66e-05/0.25, allocations: 65.44 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.2501, allocations: 107.9 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.2502, allocations: 0 / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.614e-06/0.2502, allocations: 0 / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.2502, allocations: 0 / 1.061 GB, free: 2.707 MB / 0.8106 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.0003465/0.2505, allocations: 381 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.2506, allocations: 19.97 kB / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.907e-05/0.2506, allocations: 34.75 kB / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.2506, allocations: 12.84 kB / 1.061 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.2508, allocations: 200.2 kB / 1.062 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.2508, allocations: 8.375 kB / 1.062 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.2509, allocations: 8.359 kB / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.251, allocations: 72.75 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.251, allocations: 3.938 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.251, allocations: 11.94 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.251, allocations: 0 / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.311e-05/0.251, allocations: 15.98 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003665/0.2514, allocations: 496.9 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.92e-05/0.2515, allocations: 34.5 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.249e-05/0.2515, allocations: 4.859 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.201e-06/0.2515, allocations: 4.062 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001031/0.2516, allocations: 59.3 kB / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.2516, allocations: 3.938 kB / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001448/0.2518, allocations: 69.53 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.2518, allocations: 55.39 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 selectInitializationVariablesDAE (initialization): time 0.0001176/0.2519, allocations: 156.4 kB / 1.062 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.2519, allocations: 25.7 kB / 1.063 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.13e-05/0.252, allocations: 100.1 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.036e-05/0.252, allocations: 11.91 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.2521, allocations: 13.72 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.252e-05/0.2521, allocations: 318.8 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.076e-05/0.2522, allocations: 27.98 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.31e-05/0.2523, allocations: 50.56 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.609e-05/0.2524, allocations: 80.2 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2524, allocations: 0 / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002097/0.2526, allocations: 151.2 kB / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.2526, allocations: 37.73 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2526, allocations: 4 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.795e-06/0.2527, allocations: 96 / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.166e-05/0.2527, allocations: 4 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2527, allocations: 3.938 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.2529, allocations: 37.8 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.2529, allocations: 7.984 kB / 1.063 GB, free: 15.94 MB / 0.8262 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 7.125e-05/0.253, allocations: 121.8 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.253, allocations: 7.906 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.874e-05/0.2531, allocations: 4.25 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2531, allocations: 3.984 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2531, allocations: 3.938 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.2531, allocations: 0 / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.847e-05/0.2532, allocations: 173.7 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.2532, allocations: 0 / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.172e-06/0.2532, allocations: 7.938 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.2532, allocations: 0 / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.2532, allocations: 7.984 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2532, allocations: 64 / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.2532, allocations: 7.938 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.897e-05/0.2533, allocations: 84.97 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.2534, allocations: 85.23 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.2534, allocations: 4 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.575e-05/0.2534, allocations: 0 / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/0.2534, allocations: 11.91 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.2534, allocations: 8 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.211e-05/0.2535, allocations: 107.3 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2535, allocations: 0 / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000192/0.2537, allocations: 19.98 kB / 1.064 GB, free: 15.2 MB / 0.8262 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.0003144/0.254, allocations: 0.6163 MB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001692/0.2542, allocations: 135.2 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2542, allocations: 0 / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.383e-05/0.2542, allocations: 12 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.2544, allocations: 6.062 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.2557, allocations: 1.51 MB / 1.066 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.2559, allocations: 0.6965 MB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.858e-05/0.2559, allocations: 4 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.2559, allocations: 23.42 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.2559, allocations: 8 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.982/3.238, allocations: 2.155 MB / 1.069 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002306/3.238, allocations: 235.9 kB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/5.532, allocations: 2.25 kB / 1.069 GB, free: 9.797 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1)