Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.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.Continuous.Sources.Validation.Sine,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",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.718/2.718, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001504/0.001504, allocations: 190.9 kB / 370.8 MB, free: 10.85 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.097/2.097, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001116/0.001116, allocations: 102 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005191/0.0005193, allocations: 11.97 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2084, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.0007701/0.2092, allocations: 336.2 kB / 0.9786 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009104/0.2102, allocations: 0.7988 MB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.126e-05/0.2102, allocations: 3.938 kB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.307e-05/0.2102, allocations: 0 / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.052e-05/0.2103, allocations: 3.984 kB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001201/0.2104, allocations: 15.98 kB / 0.9794 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.428e-05/0.2105, allocations: 15.86 kB / 0.9794 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.759e-05/0.2106, allocations: 0 / 0.9794 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.037e-05/0.2107, allocations: 11.98 kB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.946e-05/0.2107, allocations: 4 kB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.2108, allocations: 0 / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.2108, allocations: 0 / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.2108, allocations: 7.922 kB / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.2108, allocations: 29.7 kB / 0.9795 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.998e-05/0.2109, allocations: 11.97 kB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2109, allocations: 4 kB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2109, allocations: 4 kB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.2109, allocations: 0 / 0.9795 GB, free: 27.01 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.0003462/0.2113, allocations: 327.5 kB / 0.9798 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.2113, allocations: 12.02 kB / 0.9798 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.726e-05/0.2114, allocations: 30.56 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.36e-05/0.2114, allocations: 4 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.786e-05/0.2115, allocations: 163 kB / 0.98 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.2115, allocations: 0 / 0.98 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.2116, allocations: 8 kB / 0.98 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.2117, allocations: 41.62 kB / 0.9801 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2117, allocations: 0 / 0.9801 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.2117, allocations: 0 / 0.9801 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2118, allocations: 0 / 0.9801 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.2119, allocations: 15.98 kB / 0.9801 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.212, allocations: 161.6 kB / 0.9802 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.002e-05/0.2121, allocations: 30.59 kB / 0.9803 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.2121, allocations: 0 / 0.9803 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.2122, allocations: 30.56 kB / 0.9803 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/0.2122, allocations: 0 / 0.9803 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002708/0.2125, allocations: 65.67 kB / 0.9804 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.2125, allocations: 55.41 kB / 0.9804 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.797e-05/0.2126, allocations: 101.8 kB / 0.9805 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.2126, allocations: 25.7 kB / 0.9805 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.455e-05/0.2127, allocations: 80.14 kB / 0.9806 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.2127, allocations: 11.89 kB / 0.9806 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.2127, allocations: 0 / 0.9806 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.675e-05/0.2128, allocations: 319 kB / 0.9809 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.952e-05/0.2128, allocations: 8 kB / 0.9809 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.301e-05/0.2129, allocations: 11.92 kB / 0.981 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.263e-05/0.213, allocations: 15.95 kB / 0.981 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.213, allocations: 0 / 0.981 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001556/0.2132, allocations: 53.69 kB / 0.981 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2132, allocations: 4 kB / 0.981 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2132, allocations: 3.984 kB / 0.981 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.2132, allocations: 0 / 0.981 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.475e-05/0.2133, allocations: 4 kB / 0.981 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.2134, allocations: 0 / 0.981 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.766e-05/0.2134, allocations: 4 kB / 0.981 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.2134, allocations: 0 / 0.981 GB, free: 25.23 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 (1): * Single equations (assignments): 1 * 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 6.609e-05/0.2135, allocations: 123.9 kB / 0.9812 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.2135, allocations: 4.234 kB / 0.9812 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.07e-05/0.2136, allocations: 7.109 kB / 0.9812 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2136, allocations: 0 / 0.9812 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2136, allocations: 4 kB / 0.9812 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2136, allocations: 4 kB / 0.9812 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.537e-05/0.2137, allocations: 149.7 kB / 0.9813 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2137, allocations: 3.953 kB / 0.9813 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-05/0.2138, allocations: 4 kB / 0.9813 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2138, allocations: 8 kB / 0.9813 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.2138, allocations: 3.984 kB / 0.9813 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2138, allocations: 0 / 0.9813 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.2138, allocations: 0 / 0.9813 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.214, allocations: 76.97 kB / 0.9814 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.716e-05/0.214, allocations: 85.09 kB / 0.9815 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.2141, allocations: 0 / 0.9815 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.8e-05/0.2141, allocations: 7.984 kB / 0.9815 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.2142, allocations: 0 / 0.9815 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-06/0.2142, allocations: 7.938 kB / 0.9815 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.589e-05/0.2142, allocations: 83.28 kB / 0.9816 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2142, allocations: 0 / 0.9816 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002421/0.2145, allocations: 0 / 0.9816 GB, free: 24.58 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 (1): * Single equations (assignments): 1 * 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.0003904/0.2149, allocations: 0.6202 MB / 0.9822 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001628/0.2151, allocations: 20.02 kB / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2151, allocations: 4.062 kB / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.322e-05/0.2152, allocations: 8 kB / 0.9822 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.2153, allocations: 11.86 kB / 0.9822 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003734/0.2157, allocations: 150.2 kB / 0.9824 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.2158, allocations: 0.677 MB / 0.983 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.922e-05/0.2159, allocations: 8.062 kB / 0.983 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.2159, allocations: 7.438 kB / 0.983 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of SimCode: time 8.62e-07/0.2159, allocations: 0 / 0.983 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.2336, allocations: 0.8975 MB / 0.9839 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002431/0.2339, allocations: 192.8 kB / 0.9841 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.236/2.47, allocations: 2.391 kB / 0.9841 GB, free: 21.99 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine_fmu --startTime=0 --stopTime=130 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1)