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.Ramp.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.Ramp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp",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.217/1.217, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0008097/0.0008098, allocations: 179.7 kB / 325.8 MB, free: 2.684 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.241/1.241, allocations: 205 MB / 0.576 GB, free: 20.99 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.0006462/0.0006462, allocations: 93.64 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002627/0.0002627, allocations: 12.66 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1338, 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.Ramp): time 0.001038/0.1348, allocations: 1.042 MB / 0.8973 GB, free: 66.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001847/0.135, allocations: 108.5 kB / 0.8974 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.029e-05/0.135, allocations: 0 / 0.8974 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.445e-05/0.1351, allocations: 3.984 kB / 0.8974 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.544e-05/0.1351, allocations: 0 / 0.8974 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.907e-05/0.1352, allocations: 4 kB / 0.8974 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.824e-05/0.1352, allocations: 19.88 kB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.1353, allocations: 7.984 kB / 0.8974 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.043e-05/0.1353, allocations: 4 kB / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.462e-05/0.1353, allocations: 15.92 kB / 0.8974 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.1354, allocations: 0 / 0.8974 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.779e-06/0.1354, allocations: 0 / 0.8974 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.011e-05/0.1354, allocations: 0 / 0.8974 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.561e-05/0.1354, allocations: 4 kB / 0.8974 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.4e-05/0.1354, allocations: 20.17 kB / 0.8974 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1355, allocations: 4 kB / 0.8974 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1355, allocations: 0 / 0.8974 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.965e-06/0.1355, allocations: 0 / 0.8974 GB, free: 66.78 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.0002687/0.1357, allocations: 331.5 kB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.1358, allocations: 15.97 kB / 0.8978 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.993e-05/0.1358, allocations: 30.75 kB / 0.8978 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.59e-05/0.1358, allocations: 0.9375 kB / 0.8978 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.208e-05/0.1359, allocations: 168.3 kB / 0.898 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.1359, allocations: 4.375 kB / 0.898 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.1359, allocations: 384 / 0.898 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.136, allocations: 50.23 kB / 0.898 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1361, allocations: 3.938 kB / 0.898 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-06/0.1361, allocations: 0 / 0.898 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.1361, allocations: 4 kB / 0.898 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.1362, allocations: 39.97 kB / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.518e-05/0.1363, allocations: 153.7 kB / 0.8982 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.191e-05/0.1364, allocations: 35.31 kB / 0.8982 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.818e-05/0.1365, allocations: 36.89 kB / 0.8983 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.1365, allocations: 0 / 0.8983 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.178e-05/0.1365, allocations: 34.56 kB / 0.8983 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.1365, allocations: 0 / 0.8983 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0002466/0.1367, allocations: 97.52 kB / 0.8984 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.614e-05/0.1368, allocations: 59.34 kB / 0.8985 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.923e-05/0.1368, allocations: 97.86 kB / 0.8985 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.019e-06/0.1368, allocations: 25.7 kB / 0.8986 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.31e-05/0.1368, allocations: 80.14 kB / 0.8986 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.1369, allocations: 4.125 kB / 0.8987 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.568e-05/0.1369, allocations: 9.719 kB / 0.8987 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.184e-05/0.1369, allocations: 322.8 kB / 0.899 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.66e-05/0.137, allocations: 15.98 kB / 0.899 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.85e-05/0.1371, allocations: 19.98 kB / 0.899 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.1372, allocations: 44.83 kB / 0.899 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1372, allocations: 0 / 0.899 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001438/0.1373, allocations: 81.59 kB / 0.8991 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.1374, allocations: 11.94 kB / 0.8991 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.1374, allocations: 0 / 0.8991 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1374, allocations: 0 / 0.8991 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.518e-05/0.1374, allocations: 11.98 kB / 0.8991 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.1375, allocations: 0 / 0.8991 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.827e-05/0.1375, allocations: 8.031 kB / 0.8992 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.1375, allocations: 0 / 0.8992 GB, free: 64.79 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.506e-05/0.1375, allocations: 117.8 kB / 0.8993 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-06/0.1376, allocations: 7.844 kB / 0.8993 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.255e-05/0.1376, allocations: 3.125 kB / 0.8993 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.1376, allocations: 0 / 0.8993 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.1376, allocations: 0 / 0.8993 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1376, allocations: 4.188 kB / 0.8993 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.251e-05/0.1376, allocations: 153.7 kB / 0.8994 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1376, allocations: 0 / 0.8994 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-05/0.1377, allocations: 11.98 kB / 0.8994 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1377, allocations: 7.922 kB / 0.8994 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-06/0.1377, allocations: 0 / 0.8994 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1377, allocations: 0 / 0.8994 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1377, allocations: 4 kB / 0.8994 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.1379, allocations: 97.03 kB / 0.8995 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.1379, allocations: 77.11 kB / 0.8996 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.387e-06/0.1379, allocations: 7.938 kB / 0.8996 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.831e-05/0.138, allocations: 12.02 kB / 0.8996 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.293e-05/0.138, allocations: 3.938 kB / 0.8996 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.138, allocations: 0 / 0.8996 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.613e-05/0.138, allocations: 83.28 kB / 0.8997 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.138, allocations: 0 / 0.8997 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001458/0.1382, allocations: 4 kB / 0.8997 GB, free: 64.11 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.0002726/0.1384, allocations: 0.6358 MB / 0.9003 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001532/0.1386, allocations: 47.94 kB / 0.9004 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1386, allocations: 0 / 0.9004 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.448e-05/0.1387, allocations: 23.98 kB / 0.9004 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.1388, allocations: 4 kB / 0.9004 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002353/0.1391, allocations: 134.1 kB / 0.9005 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.702e-05/0.1392, allocations: 0.6731 MB / 0.9012 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.782e-05/0.1392, allocations: 4 kB / 0.9012 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.174e-05/0.1392, allocations: 11.38 kB / 0.9012 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of SimCode: time 3.2e-07/0.1392, allocations: 0 / 0.9012 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04642/0.1856, allocations: 0.9691 MB / 0.9022 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001452/0.1858, allocations: 229.3 kB / 0.9024 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/1.7, allocations: 1.406 kB / 0.9024 GB, free: 61.42 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1)