Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.881/2.881, allocations: 287.5 MB / 302.4 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00137/0.00137, allocations: 180.3 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.193/2.193, allocations: 205.4 MB / 0.6297 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009914/0.0009911, allocations: 80.27 kB / 0.743 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007257/0.0007264, allocations: 12.77 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.237, allocations: 115.3 MB / 0.9785 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0007711/0.2378, allocations: 290 kB / 0.9788 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 3.974e-05/0.2379, allocations: 3.984 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.2379, allocations: 4 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.2379, allocations: 0 / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.793e-05/0.238, allocations: 3.938 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.611e-05/0.238, allocations: 0 / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.598e-05/0.238, allocations: 4 kB / 0.9788 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.917e-05/0.2381, allocations: 0 / 0.9788 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.668e-05/0.2381, allocations: 11.94 kB / 0.9788 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 1.834e-05/0.2382, allocations: 0 / 0.9788 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.2382, allocations: 0 / 0.9788 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.879e-06/0.2382, allocations: 0 / 0.9788 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.556e-06/0.2382, allocations: 0 / 0.9788 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.767e-05/0.2382, allocations: 25.7 kB / 0.9788 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 3.679e-05/0.2383, allocations: 0 / 0.9788 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2383, allocations: 0 / 0.9788 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2383, allocations: 0 / 0.9788 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.2383, allocations: 0 / 0.9788 GB, free: 27.86 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000223/0.2386, allocations: 315.4 kB / 0.9791 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.2386, allocations: 12.08 kB / 0.9791 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.227e-05/0.2387, allocations: 30.56 kB / 0.9791 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.112e-05/0.2387, allocations: 11.94 kB / 0.9792 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.989e-05/0.2388, allocations: 163 kB / 0.9793 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.2388, allocations: 0 / 0.9793 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.2388, allocations: 0 / 0.9793 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.773e-05/0.2389, allocations: 29.69 kB / 0.9793 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.2389, allocations: 4 kB / 0.9793 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.2389, allocations: 0 / 0.9793 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.239, allocations: 4 kB / 0.9794 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.734e-05/0.239, allocations: 0 / 0.9794 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002447/0.2392, allocations: 395.2 kB / 0.9797 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.918e-05/0.2393, allocations: 165.1 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.2393, allocations: 80.14 kB / 0.98 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.2394, allocations: 79.28 kB / 0.98 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.2394, allocations: 113.9 kB / 0.9801 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.373e-06/0.2394, allocations: 0 / 0.9801 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.718e-05/0.2395, allocations: 29.64 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.2395, allocations: 130.7 kB / 0.9803 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.224e-05/0.2396, allocations: 97.91 kB / 0.9804 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.2396, allocations: 33.72 kB / 0.9804 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.838e-05/0.2397, allocations: 80.14 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.2397, allocations: 0 / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-07/0.2397, allocations: 0 / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.063e-05/0.2398, allocations: 314.8 kB / 0.9808 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.977e-06/0.2398, allocations: 0 / 0.9808 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-06/0.2398, allocations: 4 kB / 0.9808 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.66e-05/0.2398, allocations: 75.28 kB / 0.9809 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/0.2398, allocations: 79.28 kB / 0.981 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.658e-05/0.2399, allocations: 29.64 kB / 0.981 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.2399, allocations: 83.28 kB / 0.9811 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.24, allocations: 79.22 kB / 0.9811 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.05e-05/0.24, allocations: 150.6 kB / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.69e-05/0.24, allocations: 83.2 kB / 0.9814 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.792e-05/0.2401, allocations: 154.6 kB / 0.9815 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.51e-05/0.2402, allocations: 87.22 kB / 0.9816 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.2402, allocations: 79.23 kB / 0.9817 GB, free: 24.69 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.317e-05/0.2403, allocations: 260.7 kB / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.2403, allocations: 101 kB / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.437e-05/0.2404, allocations: 112 kB / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.67e-05/0.2404, allocations: 185.1 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.846e-05/0.2405, allocations: 184.2 kB / 0.9825 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.017e-05/0.2405, allocations: 176.3 kB / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.2407, allocations: 401.2 kB / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/0.2407, allocations: 108.9 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.341e-05/0.2407, allocations: 109 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-05/0.2408, allocations: 188.2 kB / 0.9834 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.2408, allocations: 180.5 kB / 0.9836 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-05/0.2409, allocations: 188.2 kB / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.235e-05/0.2409, allocations: 176.3 kB / 0.9839 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.016e-05/0.241, allocations: 315.8 kB / 0.9842 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.2411, allocations: 182.1 kB / 0.9844 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.2411, allocations: 180.2 kB / 0.9846 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.628e-05/0.2412, allocations: 105 kB / 0.9847 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.2412, allocations: 180.3 kB / 0.9848 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.2413, allocations: 104.9 kB / 0.9849 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.37e-05/0.2413, allocations: 87.27 kB / 0.985 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2413, allocations: 0 / 0.985 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002961/0.2416, allocations: 0 / 0.985 GB, free: 21.02 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003031/0.2419, allocations: 0.8049 MB / 0.9858 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 3.916e-05/0.242, allocations: 3.938 kB / 0.9858 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.242, allocations: 0 / 0.9858 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.242, allocations: 0 / 0.9858 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.2424, allocations: 0.5263 MB / 0.9863 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.2429, allocations: 0.4899 MB / 0.9868 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.243, allocations: 0.677 MB / 0.9875 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.438e-06/0.2431, allocations: 0 / 0.9875 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/0.2431, allocations: 7.438 kB / 0.9875 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of SimCode: time 7.22e-07/0.2431, allocations: 0 / 0.9875 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.2608, allocations: 0.7509 MB / 0.9882 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002591/0.2611, allocations: 200 kB / 0.9884 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.352/2.614, allocations: 3.938 kB / 0.9884 GB, free: 17.56 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)