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.666/1.666, allocations: 252 MB / 267.3 MB, free: 10.86 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.0009472/0.0009472, allocations: 186.3 kB / 327 MB, free: 2.102 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.743/1.743, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0009177/0.0009177, allocations: 82.38 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003395, allocations: 10.03 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2476, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.001551/0.2492, allocations: 1.053 MB / 0.902 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003629/0.2496, allocations: 117.9 kB / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.338e-05/0.2496, allocations: 4 kB / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.2497, allocations: 0 / 0.9021 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.469e-05/0.2497, allocations: 3.984 kB / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.2499, allocations: 7.938 kB / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.562e-05/0.25, allocations: 19.92 kB / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.545e-05/0.25, allocations: 11.94 kB / 0.9021 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.2502, allocations: 7.938 kB / 0.9021 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.694e-05/0.2502, allocations: 7.984 kB / 0.9021 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.2502, allocations: 4 kB / 0.9021 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.057e-06/0.2503, allocations: 0 / 0.9021 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.2503, allocations: 0 / 0.9021 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.2503, allocations: 33.62 kB / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.048e-05/0.2504, allocations: 23.91 kB / 0.9022 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2504, allocations: 0 / 0.9022 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2504, allocations: 4 kB / 0.9022 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2504, allocations: 0 / 0.9022 GB, free: 62.06 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.0003421/0.2508, allocations: 319.6 kB / 0.9025 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.2508, allocations: 8.031 kB / 0.9025 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.821e-05/0.2509, allocations: 34.75 kB / 0.9025 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.372e-05/0.2509, allocations: 4.938 kB / 0.9026 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.76e-05/0.251, allocations: 168.5 kB / 0.9027 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.251, allocations: 384 / 0.9027 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.251, allocations: 384 / 0.9027 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.2512, allocations: 50.19 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2512, allocations: 3.938 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.2512, allocations: 0 / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.2512, allocations: 0 / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.837e-05/0.2513, allocations: 15.98 kB / 0.9028 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.2515, allocations: 153.7 kB / 0.9029 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.913e-05/0.2515, allocations: 38.58 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.448e-05/0.2516, allocations: 16.92 kB / 0.903 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.2516, allocations: 0 / 0.903 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.2516, allocations: 34.5 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.2516, allocations: 0 / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0002086/0.2518, allocations: 65.61 kB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.2519, allocations: 51.41 kB / 0.9031 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.125e-05/0.252, allocations: 105.8 kB / 0.9032 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.462e-06/0.252, allocations: 25.7 kB / 0.9033 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.954e-05/0.252, allocations: 84.14 kB / 0.9033 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.252, allocations: 3.906 kB / 0.9033 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.252, allocations: 4 kB / 0.9033 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.171e-05/0.2521, allocations: 315 kB / 0.9036 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.547e-05/0.2521, allocations: 11.92 kB / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.916e-05/0.2522, allocations: 11.94 kB / 0.9037 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.602e-05/0.2522, allocations: 24.84 kB / 0.9037 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2523, allocations: 4.062 kB / 0.9037 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.933e-05/0.2524, allocations: 53.62 kB / 0.9037 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.2524, allocations: 11.94 kB / 0.9038 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2524, allocations: 0 / 0.9038 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.2524, allocations: 0 / 0.9038 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.846e-05/0.2525, allocations: 7.984 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2525, allocations: 0 / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.427e-05/0.2525, allocations: 8.031 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.2526, allocations: 0 / 0.9038 GB, free: 60.23 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.132e-05/0.2526, allocations: 105.8 kB / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.417e-06/0.2526, allocations: 3.938 kB / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/0.2527, allocations: 15.11 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2527, allocations: 3.938 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.2527, allocations: 0 / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2527, allocations: 0 / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.763e-05/0.2527, allocations: 149.7 kB / 0.904 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2528, allocations: 0 / 0.904 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/0.2528, allocations: 8.25 kB / 0.904 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.2528, allocations: 3.938 kB / 0.904 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.2528, allocations: 4 kB / 0.904 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.2528, allocations: 0 / 0.904 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2528, allocations: 0 / 0.904 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.253, allocations: 81.11 kB / 0.9041 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/0.253, allocations: 85.02 kB / 0.9042 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.253, allocations: 3.938 kB / 0.9042 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.957e-05/0.253, allocations: 4 kB / 0.9042 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.2531, allocations: 3.984 kB / 0.9042 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.2531, allocations: 0 / 0.9042 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.277e-05/0.2531, allocations: 79.28 kB / 0.9043 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.22e-07/0.2531, allocations: 0 / 0.9043 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001764/0.2533, allocations: 7.938 kB / 0.9043 GB, free: 59.58 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 (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.0003321/0.2536, allocations: 0.6164 MB / 0.9049 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.2538, allocations: 20.02 kB / 0.9049 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2538, allocations: 3.938 kB / 0.9049 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.104e-05/0.2538, allocations: 15.94 kB / 0.9049 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.254, allocations: 9.703 kB / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/0.2543, allocations: 148.5 kB / 0.9051 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.2544, allocations: 0.6772 MB / 0.9058 GB, free: 58 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.313e-05/0.2545, allocations: 0 / 0.9058 GB, free: 58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.2545, allocations: 11.42 kB / 0.9058 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of SimCode: time 3.4e-07/0.2545, allocations: 7.938 kB / 0.9058 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01004/0.2646, allocations: 0.896 MB / 0.9066 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001449/0.2647, allocations: 229.8 kB / 0.9069 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/1.995, allocations: 0 / 0.9069 GB, free: 56.99 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)