Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 122 kB / 17.84 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 199.8 kB / 20.79 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.532/1.532, allocations: 230.6 MB / 254.2 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.052/1.052, allocations: 150 MB / 460.2 MB, free: 5.191 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 67.31 kB / 0.6368 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2044, allocations: 89.14 MB / 0.7239 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sin): time 0.00202/0.2064, allocations: 0.6466 MB / 0.7245 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.2076, allocations: 0.8553 MB / 0.7254 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.2077, allocations: 0 / 0.7254 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.881e-05/0.2077, allocations: 7.938 kB / 0.7254 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.657e-05/0.2078, allocations: 3.938 kB / 0.7254 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.208, allocations: 15.97 kB / 0.7254 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.981e-05/0.2081, allocations: 27.86 kB / 0.7254 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.541e-05/0.2082, allocations: 4 kB / 0.7254 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.933e-05/0.2082, allocations: 11.98 kB / 0.7254 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.415e-05/0.2083, allocations: 11.94 kB / 0.7254 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.2083, allocations: 0 / 0.7254 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.834e-05/0.2083, allocations: 4 kB / 0.7255 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.2084, allocations: 7.984 kB / 0.7255 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.2084, allocations: 11.94 kB / 0.7255 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.2085, allocations: 32.17 kB / 0.7255 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.2085, allocations: 0 / 0.7255 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.465e-06/0.2085, allocations: 0 / 0.7255 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.2085, allocations: 0 / 0.7255 GB, free: 2.406 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000545/0.2091, allocations: 339.4 kB / 0.7258 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.2091, allocations: 12.03 kB / 0.7258 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.219e-05/0.2091, allocations: 192 / 0.7258 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.495e-05/0.2092, allocations: 34.73 kB / 0.7259 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.82e-05/0.2093, allocations: 12.88 kB / 0.7259 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.2094, allocations: 168.3 kB / 0.726 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.2094, allocations: 384 / 0.726 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.2094, allocations: 384 / 0.726 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.2096, allocations: 53.98 kB / 0.7261 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.2096, allocations: 0 / 0.7261 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.2096, allocations: 7.984 kB / 0.7261 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.2097, allocations: 0 / 0.7261 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.2098, allocations: 35.95 kB / 0.7261 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.2102, allocations: 252.9 kB / 0.7264 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.2103, allocations: 30.56 kB / 0.7264 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.78e-05/0.2104, allocations: 28.89 kB / 0.7264 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.2105, allocations: 4 kB / 0.7264 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.2105, allocations: 34.5 kB / 0.7265 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2105, allocations: 0 / 0.7265 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003827/0.2109, allocations: 85.58 kB / 0.7266 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.2109, allocations: 51.41 kB / 0.7266 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.818e-05/0.211, allocations: 97.98 kB / 0.7267 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.211, allocations: 29.7 kB / 0.7267 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.2111, allocations: 89.97 kB / 0.7268 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.2111, allocations: 7.938 kB / 0.7268 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.2111, allocations: 13.72 kB / 0.7268 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.2113, allocations: 314.8 kB / 0.7271 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.475e-05/0.2114, allocations: 11.98 kB / 0.7271 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.009e-05/0.2114, allocations: 23.97 kB / 0.7272 GB, free: 484 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.2116, allocations: 40.77 kB / 0.7272 GB, free: 440 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.2116, allocations: 0 / 0.7272 GB, free: 440 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000234/0.2119, allocations: 69.59 kB / 0.7273 GB, free: 364 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.2119, allocations: 4 kB / 0.7273 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2119, allocations: 0 / 0.7273 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.2119, allocations: 4.094 kB / 0.7273 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.212, allocations: 11.98 kB / 0.7273 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.212, allocations: 3.938 kB / 0.7273 GB, free: 340 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.44e-05/0.2121, allocations: 7.953 kB / 0.7273 GB, free: 332 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.2121, allocations: 0 / 0.7273 GB, free: 332 kB / 0.5294 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 (2): * Single equations (assignments): 2 * 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 9.75e-05/0.2122, allocations: 117.8 kB / 0.7274 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.2122, allocations: 0 / 0.7274 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.2124, allocations: 76.7 kB / 0.7275 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2124, allocations: 0 / 0.7275 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.2124, allocations: 0 / 0.7275 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2124, allocations: 4 kB / 0.7275 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.2126, allocations: 161.6 kB / 0.7276 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2126, allocations: 0 / 0.7276 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.161e-05/0.2127, allocations: 7.984 kB / 0.7277 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2127, allocations: 0 / 0.7277 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.2127, allocations: 4 kB / 0.7277 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2127, allocations: 4.031 kB / 0.7277 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2127, allocations: 0 / 0.7277 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.213, allocations: 159.5 kB / 0.7278 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.213, allocations: 81.11 kB / 0.7279 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.213, allocations: 0 / 0.7279 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.327e-05/0.2131, allocations: 11.98 kB / 0.7279 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.2131, allocations: 4.031 kB / 0.7279 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.2132, allocations: 7.938 kB / 0.7279 GB, free: 15.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001117/0.2133, allocations: 79.27 kB / 0.728 GB, free: 15.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2133, allocations: 3.938 kB / 0.728 GB, free: 15.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002134/0.2135, allocations: 4 kB / 0.728 GB, free: 15.52 MB / 0.545 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 (2): * Single equations (assignments): 2 * 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.0006911/0.2142, allocations: 0.6968 MB / 0.7287 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000243/0.2144, allocations: 39.95 kB / 0.7287 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2144, allocations: 0 / 0.7287 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.14e-05/0.2145, allocations: 23.92 kB / 0.7287 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.2148, allocations: 5.984 kB / 0.7287 GB, free: 14.72 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004487/0.2152, allocations: 143.7 kB / 0.7289 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.2156, allocations: 0.6807 MB / 0.7295 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.04e-05/0.2156, allocations: 0 / 0.7295 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.2156, allocations: 7.438 kB / 0.7295 GB, free: 13.83 MB / 0.545 GB Notification: Performance of SimCode: time 4.6e-07/0.2156, allocations: 0 / 0.7295 GB, free: 13.83 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.2338, allocations: 1.311 MB / 0.7308 GB, free: 12.62 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.199/8.432, allocations: 22.48 kB / 0.7309 GB, free: 12.61 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sin.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.527547214995138] Failed to read output from testmodel.py, exit status != 0: 8.55844271503156 8.575222211 8.363604781 Calling exit ...