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.206/1.206, allocations: 251.5 MB / 266.7 MB, free: 10.99 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.0008457/0.0008457, allocations: 177.2 kB / 325.8 MB, free: 2.668 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.219/1.219, allocations: 205 MB / 0.576 GB, free: 20.95 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.0006499/0.0006499, allocations: 89.23 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002605/0.0002605, allocations: 16.09 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1317, allocations: 105.4 MB / 0.8962 GB, free: 68.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.0009849/0.1327, allocations: 1.054 MB / 0.8973 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002238/0.133, allocations: 120.5 kB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.149e-05/0.133, allocations: 0 / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.463e-05/0.133, allocations: 0 / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.767e-05/0.1331, allocations: 7.922 kB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 9.776e-05/0.1332, allocations: 15.98 kB / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.955e-05/0.1332, allocations: 15.94 kB / 0.8974 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.1333, allocations: 4.797 kB / 0.8974 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.501e-05/0.1333, allocations: 4 kB / 0.8974 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.974e-05/0.1334, allocations: 15.92 kB / 0.8974 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.547e-06/0.1334, allocations: 3.938 kB / 0.8974 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.713e-06/0.1334, allocations: 0 / 0.8974 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.018e-05/0.1334, allocations: 3.938 kB / 0.8974 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.729e-05/0.1335, allocations: 7.938 kB / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.674e-05/0.1335, allocations: 24.17 kB / 0.8975 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1335, allocations: 4 kB / 0.8975 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1335, allocations: 0 / 0.8975 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.1335, allocations: 0 / 0.8975 GB, free: 66.74 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.0002334/0.1338, allocations: 323.5 kB / 0.8978 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.1338, allocations: 12.03 kB / 0.8978 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.17e-05/0.1338, allocations: 30.75 kB / 0.8978 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.585e-05/0.1338, allocations: 0.9375 kB / 0.8978 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.211e-05/0.1339, allocations: 172.3 kB / 0.898 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-06/0.1339, allocations: 384 / 0.898 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.67e-06/0.1339, allocations: 4.375 kB / 0.898 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.75e-05/0.134, allocations: 42.25 kB / 0.898 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.134, allocations: 3.938 kB / 0.898 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.24e-06/0.134, allocations: 0 / 0.898 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1341, allocations: 0 / 0.898 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.579e-05/0.1341, allocations: 19.92 kB / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.578e-05/0.1342, allocations: 157.7 kB / 0.8982 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.795e-05/0.1343, allocations: 26.56 kB / 0.8982 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.302e-05/0.1343, allocations: 12.92 kB / 0.8983 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.1343, allocations: 0 / 0.8983 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.182e-05/0.1343, allocations: 30.56 kB / 0.8983 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.1343, allocations: 4 kB / 0.8983 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001494/0.1345, allocations: 69.55 kB / 0.8983 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.475e-05/0.1345, allocations: 51.41 kB / 0.8984 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.872e-05/0.1346, allocations: 97.86 kB / 0.8985 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.06e-06/0.1346, allocations: 29.7 kB / 0.8985 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.568e-05/0.1346, allocations: 88.25 kB / 0.8986 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.1346, allocations: 7.906 kB / 0.8986 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.62e-05/0.1346, allocations: 9.719 kB / 0.8986 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.14e-05/0.1347, allocations: 310.8 kB / 0.8989 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.091e-05/0.1347, allocations: 8 kB / 0.8989 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.473e-05/0.1347, allocations: 11.98 kB / 0.8989 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.389e-05/0.1348, allocations: 28.91 kB / 0.899 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1348, allocations: 0 / 0.899 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.975e-05/0.1349, allocations: 53.62 kB / 0.899 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.1349, allocations: 7.938 kB / 0.899 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/0.1349, allocations: 0 / 0.899 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.1349, allocations: 0 / 0.899 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.38e-05/0.135, allocations: 7.984 kB / 0.899 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.135, allocations: 7.969 kB / 0.899 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.59e-05/0.135, allocations: 7.938 kB / 0.899 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.135, allocations: 0 / 0.899 GB, free: 64.9 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 3.498e-05/0.1351, allocations: 109.8 kB / 0.8992 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-06/0.1351, allocations: 3.938 kB / 0.8992 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.278e-05/0.1351, allocations: 7.125 kB / 0.8992 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.1351, allocations: 0 / 0.8992 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.1351, allocations: 0 / 0.8992 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.1351, allocations: 11.98 kB / 0.8992 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.326e-05/0.1352, allocations: 145.7 kB / 0.8993 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1352, allocations: 0 / 0.8993 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.213e-05/0.1352, allocations: 4 kB / 0.8993 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1352, allocations: 7.938 kB / 0.8993 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-06/0.1352, allocations: 0 / 0.8993 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1352, allocations: 0 / 0.8993 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1352, allocations: 3.938 kB / 0.8993 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.659e-05/0.1353, allocations: 81.36 kB / 0.8994 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.411e-05/0.1354, allocations: 88.94 kB / 0.8995 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.1354, allocations: 11.94 kB / 0.8995 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.515e-05/0.1354, allocations: 4 kB / 0.8995 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.1354, allocations: 0 / 0.8995 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.1354, allocations: 7.984 kB / 0.8995 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.728e-05/0.1355, allocations: 79.28 kB / 0.8996 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1355, allocations: 4.031 kB / 0.8996 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000146/0.1356, allocations: 0 / 0.8996 GB, free: 64.24 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.0002074/0.1358, allocations: 0.6202 MB / 0.9002 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.599e-05/0.1359, allocations: 19.98 kB / 0.9002 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.1359, allocations: 0 / 0.9002 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.07e-05/0.136, allocations: 12 kB / 0.9002 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001095/0.1361, allocations: 0 / 0.9002 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/0.1363, allocations: 143.5 kB / 0.9004 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.068e-05/0.1364, allocations: 0.677 MB / 0.901 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.793e-05/0.1364, allocations: 0 / 0.901 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.142e-05/0.1365, allocations: 7.438 kB / 0.901 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.1365, allocations: 0 / 0.901 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.118/0.2545, allocations: 0.9098 MB / 0.9019 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001382/0.2546, allocations: 233.7 kB / 0.9021 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.385/1.64, allocations: 0 / 0.9021 GB, free: 61.67 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)