Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.482/1.482, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 181.3 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.824/1.824, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008313/0.0008312, allocations: 110.5 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003637, allocations: 16.59 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2319, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.001495/0.2335, allocations: 1.037 MB / 0.9012 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002873/0.2338, allocations: 121.9 kB / 0.9013 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.632e-05/0.2338, allocations: 0 / 0.9013 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.2339, allocations: 0 / 0.9013 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.421e-05/0.2339, allocations: 4 kB / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.2341, allocations: 4 kB / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.79e-05/0.2341, allocations: 15.91 kB / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.334e-05/0.2342, allocations: 0 / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.347e-05/0.2343, allocations: 15.98 kB / 0.9013 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.891e-05/0.2344, allocations: 11.92 kB / 0.9014 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.2344, allocations: 3.938 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.2344, allocations: 4 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.2344, allocations: 0 / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.2345, allocations: 33.64 kB / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.821e-05/0.2345, allocations: 11.97 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2345, allocations: 0 / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2345, allocations: 0 / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2345, allocations: 0 / 0.9014 GB, free: 62.52 MB / 0.6042 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.0003949/0.2349, allocations: 321.3 kB / 0.9017 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.235, allocations: 12.03 kB / 0.9017 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.341e-05/0.235, allocations: 30.56 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.568e-05/0.2351, allocations: 0 / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.67e-05/0.2352, allocations: 175.2 kB / 0.9019 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.2352, allocations: 0 / 0.9019 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.2352, allocations: 4 kB / 0.9019 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.2354, allocations: 41.62 kB / 0.902 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.2354, allocations: 0 / 0.902 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.2354, allocations: 4 kB / 0.902 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.2354, allocations: 0 / 0.902 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.686e-05/0.2355, allocations: 19.98 kB / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/0.2356, allocations: 149.6 kB / 0.9021 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.249e-05/0.2357, allocations: 34.59 kB / 0.9022 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.2357, allocations: 0 / 0.9022 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.2357, allocations: 34.5 kB / 0.9022 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.2357, allocations: 4.062 kB / 0.9022 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001963/0.2359, allocations: 53.69 kB / 0.9022 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.236, allocations: 55.53 kB / 0.9023 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.283e-05/0.236, allocations: 105.8 kB / 0.9024 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.236, allocations: 29.7 kB / 0.9024 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/0.2361, allocations: 80.14 kB / 0.9025 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.2361, allocations: 4 kB / 0.9025 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.2361, allocations: 0 / 0.9025 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.194e-05/0.2362, allocations: 314.8 kB / 0.9028 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.666e-05/0.2362, allocations: 12 kB / 0.9028 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.934e-05/0.2363, allocations: 4 kB / 0.9028 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.799e-05/0.2363, allocations: 27.81 kB / 0.9029 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2363, allocations: 0 / 0.9029 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.171e-05/0.2364, allocations: 49.59 kB / 0.9029 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.2364, allocations: 4.094 kB / 0.9029 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2364, allocations: 8 kB / 0.9029 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.2365, allocations: 0 / 0.9029 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.755e-05/0.2365, allocations: 7.984 kB / 0.9029 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2365, allocations: 0 / 0.9029 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.894e-05/0.2366, allocations: 3.984 kB / 0.9029 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.2366, allocations: 4 kB / 0.9029 GB, free: 60.74 MB / 0.6042 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 5.579e-05/0.2367, allocations: 117.7 kB / 0.903 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-06/0.2367, allocations: 0 / 0.903 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.652e-05/0.2367, allocations: 11.12 kB / 0.9031 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.2367, allocations: 0 / 0.9031 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.2367, allocations: 3.984 kB / 0.9031 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2367, allocations: 0 / 0.9031 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.531e-05/0.2368, allocations: 153.7 kB / 0.9032 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2368, allocations: 3.953 kB / 0.9032 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.379e-05/0.2368, allocations: 4 kB / 0.9032 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.2368, allocations: 0 / 0.9032 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.2368, allocations: 0 / 0.9032 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.2368, allocations: 3.938 kB / 0.9032 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2369, allocations: 4 kB / 0.9032 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.237, allocations: 73.11 kB / 0.9033 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.237, allocations: 85.06 kB / 0.9034 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.237, allocations: 0 / 0.9034 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.62e-05/0.237, allocations: 0 / 0.9034 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.2371, allocations: 8.031 kB / 0.9034 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.2371, allocations: 3.984 kB / 0.9034 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.353e-05/0.2371, allocations: 83.53 kB / 0.9035 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2371, allocations: 0 / 0.9035 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001751/0.2373, allocations: 4 kB / 0.9035 GB, free: 60.09 MB / 0.6042 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.0002875/0.2376, allocations: 0.6162 MB / 0.9041 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.2377, allocations: 23.98 kB / 0.9041 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2377, allocations: 0 / 0.9041 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.636e-05/0.2378, allocations: 12.09 kB / 0.9041 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.686e-05/0.2379, allocations: 3.938 kB / 0.9041 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.2382, allocations: 150.2 kB / 0.9042 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.2384, allocations: 0.6731 MB / 0.9049 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.757e-05/0.2385, allocations: 7.969 kB / 0.9049 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.2385, allocations: 7.438 kB / 0.9049 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2385, allocations: 4 kB / 0.9049 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01273/0.2512, allocations: 0.8941 MB / 0.9058 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.2515, allocations: 214.8 kB / 0.906 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/1.768, allocations: 1.25 kB / 0.906 GB, free: 57.53 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine_fmu --startTime=0 --stopTime=130 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1)