Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Controls.OBC.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",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.00116/0.00116, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001209/0.001209, allocations: 190.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.243/1.243, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.556/1.556, allocations: 292.3 MB / 0.5486 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.84 kB / 0.6711 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.2001, allocations: 114.6 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.001862/0.202, allocations: 0.9538 MB / 0.7839 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008405/0.2028, allocations: 0.8867 MB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.965e-05/0.2029, allocations: 4 kB / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.2029, allocations: 7.922 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.741e-05/0.203, allocations: 3.938 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000118/0.2031, allocations: 55.94 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.2032, allocations: 135.7 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.2034, allocations: 53.47 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.715e-05/0.2034, allocations: 51.78 kB / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.146e-05/0.2035, allocations: 63.69 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.2035, allocations: 16 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.7e-05/0.2035, allocations: 16 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.2035, allocations: 31.91 kB / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.627e-05/0.2036, allocations: 59.66 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.2037, allocations: 131.5 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.2037, allocations: 3.938 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2037, allocations: 0 / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.2037, allocations: 0 / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004843/0.2042, allocations: 455.2 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.44e-05/0.2043, allocations: 8.031 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.398e-05/0.2043, allocations: 50.73 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.2043, allocations: 12.84 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.2045, allocations: 212 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.2045, allocations: 8.375 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.2045, allocations: 12.38 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.2048, allocations: 150.2 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.2048, allocations: 3.938 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.2048, allocations: 11.94 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2049, allocations: 4 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000274/0.2051, allocations: 123.9 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.2058, allocations: 488.1 kB / 0.7869 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.2059, allocations: 94.41 kB / 0.787 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.206, allocations: 40.83 kB / 0.787 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.2061, allocations: 11.98 kB / 0.787 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.2061, allocations: 30.56 kB / 0.787 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.2061, allocations: 0 / 0.787 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003879/0.2065, allocations: 161.6 kB / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.2065, allocations: 55.41 kB / 0.7872 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.2067, allocations: 187.5 kB / 0.7874 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.2067, allocations: 29.7 kB / 0.7875 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.2068, allocations: 115.9 kB / 0.7876 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.2068, allocations: 31.55 kB / 0.7876 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.2068, allocations: 33.72 kB / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.207, allocations: 318.8 kB / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.2071, allocations: 47.91 kB / 0.788 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.2072, allocations: 44.34 kB / 0.788 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.2074, allocations: 91.44 kB / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2074, allocations: 3.938 kB / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002859/0.2077, allocations: 149.5 kB / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.747e-06/0.2077, allocations: 11.94 kB / 0.7883 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.2077, allocations: 4 kB / 0.7883 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.703e-06/0.2078, allocations: 0 / 0.7883 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.2079, allocations: 27.92 kB / 0.7883 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.2079, allocations: 0 / 0.7883 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.935e-05/0.208, allocations: 19.83 kB / 0.7883 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.208, allocations: 8 kB / 0.7883 GB, free: 8.074 MB / 0.6075 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.589e-05/0.2081, allocations: 121.8 kB / 0.7884 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.2082, allocations: 15.81 kB / 0.7885 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.2085, allocations: 143 kB / 0.7886 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2085, allocations: 0 / 0.7886 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.2085, allocations: 3.938 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2085, allocations: 0 / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005251/0.209, allocations: 464.7 kB / 0.789 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.209, allocations: 0 / 0.789 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.2092, allocations: 19.98 kB / 0.7891 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2092, allocations: 0 / 0.7891 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.2092, allocations: 8 kB / 0.7891 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.2092, allocations: 4.078 kB / 0.7891 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2092, allocations: 8 kB / 0.7891 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.2095, allocations: 233.9 kB / 0.7893 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/0.2096, allocations: 96.84 kB / 0.7894 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.2096, allocations: 8 kB / 0.7894 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.2097, allocations: 15.98 kB / 0.7894 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.2098, allocations: 15.92 kB / 0.7894 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.2098, allocations: 4 kB / 0.7894 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.605e-05/0.2099, allocations: 142.3 kB / 0.7896 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2099, allocations: 0 / 0.7896 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002259/0.2101, allocations: 24 kB / 0.7896 GB, free: 6.648 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006143/0.2107, allocations: 0.7774 MB / 0.7903 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002501/0.211, allocations: 99.88 kB / 0.7904 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.211, allocations: 4 kB / 0.7904 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.2111, allocations: 51.91 kB / 0.7905 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.2114, allocations: 11.94 kB / 0.7905 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.2134, allocations: 1.924 MB / 0.7924 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.2137, allocations: 0.7084 MB / 0.7931 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.582e-05/0.2137, allocations: 13.08 kB / 0.7931 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.2138, allocations: 43.42 kB / 0.7931 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.2138, allocations: 0 / 0.7931 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2552/0.469, allocations: 2.64 MB / 0.7957 GB, free: 344 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/0.4692, allocations: 203.8 kB / 0.7959 GB, free: 80 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/2.076, allocations: 4 kB / 0.7959 GB, free: 76 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Line.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1)