Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.001467/0.001467, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001669/0.001669, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.368/1.368, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.054/3.054, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.PlaceholderReal,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",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.001944/0.001944, allocations: 61.33 kB / 1.17 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3252, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Templates/Plants/Controls/Utilities/PlaceholderReal.mo:9:3-12:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal): time 0.002482/0.3277, allocations: 0.8959 MB / 1.346 GB, free: 15.04 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.3294, allocations: 1.19 MB / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.3295, allocations: 0 / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.3297, allocations: 23.8 kB / 1.347 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.335e-05/0.3297, allocations: 31.72 kB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005329/0.3303, allocations: 145 kB / 1.347 GB, free: 13.65 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003/0.3306, allocations: 167.6 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.3307, allocations: 37.8 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.3308, allocations: 59.83 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.3309, allocations: 55.75 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.331, allocations: 19.94 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.803e-05/0.3311, allocations: 20 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.189e-05/0.3311, allocations: 19.92 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.763e-05/0.3312, allocations: 47.84 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.3315, allocations: 171.4 kB / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3315, allocations: 0 / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3315, allocations: 4 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.888e-06/0.3315, allocations: 0 / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005736/0.3321, allocations: 367.5 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3321, allocations: 8.031 kB / 1.348 GB, free: 12.65 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.45e-05/0.3321, allocations: 4.188 kB / 1.348 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.958e-05/0.3321, allocations: 42.67 kB / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.3322, allocations: 12.89 kB / 1.348 GB, free: 12.58 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.3325, allocations: 159.6 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.3325, allocations: 8.375 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.3325, allocations: 8.375 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.3327, allocations: 88.5 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.3327, allocations: 0 / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.3327, allocations: 0 / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.3327, allocations: 7.938 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.568e-05/0.3328, allocations: 23.98 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/0.3333, allocations: 492.1 kB / 1.349 GB, free: 11.72 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.703e-05/0.3334, allocations: 30.52 kB / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.104e-05/0.3335, allocations: 16.91 kB / 1.349 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.3335, allocations: 4 kB / 1.349 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000129/0.3336, allocations: 67.38 kB / 1.349 GB, free: 11.58 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3336, allocations: 3.938 kB / 1.349 GB, free: 11.58 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0002455/0.3338, allocations: 85.53 kB / 1.349 GB, free: 11.49 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.3339, allocations: 55.34 kB / 1.349 GB, free: 11.42 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.3341, allocations: 176.4 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.3341, allocations: 29.7 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.054e-05/0.3342, allocations: 104.1 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.3342, allocations: 15.91 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.118e-05/0.3343, allocations: 29.7 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3345, allocations: 326.8 kB / 1.35 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.3346, allocations: 65.69 kB / 1.35 GB, free: 10.64 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.3347, allocations: 88.25 kB / 1.35 GB, free: 10.54 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.3348, allocations: 96.27 kB / 1.35 GB, free: 10.43 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3348, allocations: 0 / 1.35 GB, free: 10.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000335/0.3352, allocations: 201 kB / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/0.3352, allocations: 37.69 kB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.3352, allocations: 0 / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3352, allocations: 8.062 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.739e-05/0.3353, allocations: 0 / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3353, allocations: 3.938 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.3355, allocations: 35.92 kB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.3355, allocations: 4 kB / 1.351 GB, free: 10.12 MB / 1.045 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 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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.0001211/0.3356, allocations: 121.8 kB / 1.351 GB, free: 9.996 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.3357, allocations: 7.953 kB / 1.351 GB, free: 9.988 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/0.3357, allocations: 13.03 kB / 1.351 GB, free: 9.973 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3357, allocations: 4 kB / 1.351 GB, free: 9.969 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3357, allocations: 3.938 kB / 1.351 GB, free: 9.965 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3357, allocations: 0 / 1.351 GB, free: 9.965 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.3359, allocations: 156.7 kB / 1.351 GB, free: 9.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3359, allocations: 3.938 kB / 1.351 GB, free: 9.766 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.897e-05/0.3359, allocations: 4 kB / 1.351 GB, free: 9.762 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3359, allocations: 0 / 1.351 GB, free: 9.762 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.3359, allocations: 0 / 1.351 GB, free: 9.762 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3359, allocations: 3.938 kB / 1.351 GB, free: 9.758 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3359, allocations: 3.938 kB / 1.351 GB, free: 9.754 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.336, allocations: 101 kB / 1.351 GB, free: 9.637 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.3361, allocations: 15.95 kB / 1.351 GB, free: 9.621 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.3361, allocations: 3.938 kB / 1.351 GB, free: 9.617 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.226e-05/0.3361, allocations: 0 / 1.351 GB, free: 9.617 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.3361, allocations: 7.922 kB / 1.351 GB, free: 9.609 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.3361, allocations: 4 kB / 1.351 GB, free: 9.605 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001158/0.3363, allocations: 124 kB / 1.351 GB, free: 9.484 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3363, allocations: 0 / 1.351 GB, free: 9.484 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002218/0.3365, allocations: 23.94 kB / 1.351 GB, free: 9.461 MB / 1.045 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.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0004776/0.337, allocations: 0.6319 MB / 1.352 GB, free: 8.797 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002581/0.3372, allocations: 161 kB / 1.352 GB, free: 8.621 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3372, allocations: 4 kB / 1.352 GB, free: 8.617 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.414e-05/0.3373, allocations: 12.42 kB / 1.352 GB, free: 8.605 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.3375, allocations: 19.92 kB / 1.352 GB, free: 8.586 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.3395, allocations: 1.82 MB / 1.354 GB, free: 6.637 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.756e-05/0.3396, allocations: 92.3 kB / 1.354 GB, free: 6.527 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.901e-05/0.3396, allocations: 8.422 kB / 1.354 GB, free: 6.52 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.608e-05/0.3397, allocations: 23.44 kB / 1.354 GB, free: 6.496 MB / 1.045 GB Notification: Performance of SimCode: time 3.31e-07/0.3397, allocations: 0 / 1.354 GB, free: 6.496 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/0.3648, allocations: 3.14 MB / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.49, allocations: 9.891 kB / 1.357 GB, free: 3.527 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 17.75452755903825] Failed to read output from testmodel.py, exit status != 0: 11.645282763056457 11.660848395 11.326477317 Calling exit ...