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.467/1.467, allocations: 252 MB / 267 MB, free: 10.97 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.001112/0.001112, allocations: 184.6 kB / 326.6 MB, free: 2.227 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.71/1.71, allocations: 205.4 MB / 0.5777 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.0008147/0.0008146, allocations: 92.06 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004256/0.0004257, allocations: 12.69 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2339, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.001233/0.2352, allocations: 1.049 MB / 0.9014 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002417/0.2354, allocations: 113.9 kB / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.087e-05/0.2355, allocations: 0 / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.155e-05/0.2355, allocations: 0 / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.192e-05/0.2355, allocations: 3.938 kB / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001149/0.2357, allocations: 11.98 kB / 0.9015 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.008e-05/0.2357, allocations: 19.92 kB / 0.9015 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.2358, allocations: 0 / 0.9015 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.34e-05/0.2358, allocations: 7.938 kB / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.894e-05/0.2359, allocations: 11.98 kB / 0.9015 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.2359, allocations: 0 / 0.9015 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.886e-06/0.2359, allocations: 4 kB / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.536e-06/0.2359, allocations: 0 / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.685e-05/0.236, allocations: 25.7 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.66e-05/0.236, allocations: 11.97 kB / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.236, allocations: 4 kB / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.834e-06/0.236, allocations: 3.938 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.236, allocations: 0 / 0.9016 GB, free: 62.5 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.0002961/0.2363, allocations: 327.4 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.2364, allocations: 12.03 kB / 0.9019 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.152e-05/0.2364, allocations: 30.56 kB / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.963e-05/0.2364, allocations: 0 / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.648e-05/0.2365, allocations: 175.1 kB / 0.9021 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.2365, allocations: 4 kB / 0.9021 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.709e-06/0.2366, allocations: 4 kB / 0.9021 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.2367, allocations: 37.69 kB / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.2367, allocations: 0 / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.2367, allocations: 4 kB / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2367, allocations: 0 / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.651e-05/0.2368, allocations: 19.92 kB / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001031/0.2369, allocations: 157.6 kB / 0.9023 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.493e-05/0.2369, allocations: 22.61 kB / 0.9023 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.237, allocations: 20.91 kB / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.237, allocations: 0 / 0.9024 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.179e-05/0.237, allocations: 34.56 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.237, allocations: 4 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.00018/0.2372, allocations: 65.55 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/0.2373, allocations: 55.41 kB / 0.9025 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.624e-05/0.2373, allocations: 97.86 kB / 0.9026 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.961e-06/0.2373, allocations: 25.7 kB / 0.9026 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.971e-05/0.2373, allocations: 92.25 kB / 0.9027 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.2374, allocations: 0 / 0.9027 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-06/0.2374, allocations: 0 / 0.9027 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.169e-05/0.2374, allocations: 318.8 kB / 0.903 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.723e-05/0.2375, allocations: 8 kB / 0.903 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.929e-05/0.2375, allocations: 7.984 kB / 0.903 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.632e-05/0.2375, allocations: 12.06 kB / 0.903 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2375, allocations: 0 / 0.903 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.512e-05/0.2376, allocations: 57.53 kB / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.2377, allocations: 7.984 kB / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.2377, allocations: 0 / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.2377, allocations: 0 / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.345e-05/0.2378, allocations: 4 kB / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2378, allocations: 0 / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.001e-05/0.2378, allocations: 8.031 kB / 0.9031 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.2378, allocations: 0 / 0.9031 GB, free: 60.7 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 4.742e-05/0.2379, allocations: 121.8 kB / 0.9032 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.833e-06/0.2379, allocations: 3.938 kB / 0.9032 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.53e-05/0.2379, allocations: 3.125 kB / 0.9032 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.2379, allocations: 0 / 0.9032 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.2379, allocations: 256 / 0.9032 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2379, allocations: 4 kB / 0.9032 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.751e-05/0.238, allocations: 157.6 kB / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.238, allocations: 4 kB / 0.9034 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.238, allocations: 4 kB / 0.9034 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.2381, allocations: 7.984 kB / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.2381, allocations: 0 / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.2381, allocations: 0 / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2381, allocations: 3.984 kB / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.2382, allocations: 77.06 kB / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.591e-05/0.2382, allocations: 81.06 kB / 0.9036 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.2382, allocations: 4 kB / 0.9036 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.98e-05/0.2383, allocations: 3.984 kB / 0.9036 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.2383, allocations: 0 / 0.9036 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.2383, allocations: 4 kB / 0.9036 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.166e-05/0.2383, allocations: 83.28 kB / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2383, allocations: 0 / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001857/0.2385, allocations: 4.031 kB / 0.9037 GB, free: 60.05 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.0002782/0.2388, allocations: 0.6162 MB / 0.9043 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001037/0.2389, allocations: 31.95 kB / 0.9043 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.2389, allocations: 0 / 0.9043 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.749e-05/0.239, allocations: 11.98 kB / 0.9043 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.2391, allocations: 0 / 0.9043 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/0.2394, allocations: 150.3 kB / 0.9044 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.234e-05/0.2395, allocations: 0.677 MB / 0.9051 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.092e-05/0.2395, allocations: 0 / 0.9051 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.511e-05/0.2396, allocations: 7.438 kB / 0.9051 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2396, allocations: 0 / 0.9051 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01064/0.2502, allocations: 0.907 MB / 0.906 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001323/0.2504, allocations: 222.2 kB / 0.9062 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/1.837, allocations: 1.406 kB / 0.9062 GB, free: 57.47 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)