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.001775/0.001775, allocations: 97.11 kB / 19.73 MB, free: 1.871 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.00139/0.00139, allocations: 207.2 kB / 23.04 MB, free: 5.008 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.734 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 0.9896/0.9896, allocations: 150 MB / 463.2 MB, free: 10.17 MB / 366.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",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.002054/0.002054, allocations: 66.31 kB / 0.6413 GB, free: 9.773 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2018, allocations: 89.17 MB / 0.7284 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002012/0.2038, allocations: 0.6422 MB / 0.729 GB, free: 40 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.2051, allocations: 0.8548 MB / 0.7299 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.362e-05/0.2052, allocations: 0 / 0.7299 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.928e-05/0.2052, allocations: 3.938 kB / 0.7299 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.158e-05/0.2053, allocations: 0 / 0.7299 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.2055, allocations: 15.92 kB / 0.7299 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.714e-05/0.2056, allocations: 23.92 kB / 0.7299 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.2057, allocations: 7.984 kB / 0.7299 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.212e-05/0.2058, allocations: 11.94 kB / 0.7299 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.943e-05/0.2058, allocations: 7.984 kB / 0.7299 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.2058, allocations: 4 kB / 0.7299 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.462e-05/0.2059, allocations: 8 kB / 0.7299 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.2059, allocations: 3.984 kB / 0.7299 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.2059, allocations: 15.92 kB / 0.73 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.206, allocations: 28.12 kB / 0.73 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.206, allocations: 0 / 0.73 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2061, allocations: 0 / 0.73 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.2061, allocations: 0 / 0.73 GB, free: 15.04 MB / 0.5606 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.000532/0.2066, allocations: 262.3 kB / 0.7302 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.2066, allocations: 8.031 kB / 0.7302 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.708e-05/0.2067, allocations: 34.75 kB / 0.7303 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.638e-05/0.2068, allocations: 4.938 kB / 0.7303 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.2069, allocations: 114.5 kB / 0.7304 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.2069, allocations: 384 / 0.7304 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.2069, allocations: 4.375 kB / 0.7304 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.2071, allocations: 54.17 kB / 0.7305 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2071, allocations: 3.938 kB / 0.7305 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.2071, allocations: 0 / 0.7305 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2071, allocations: 0 / 0.7305 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.2073, allocations: 35.97 kB / 0.7305 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.2077, allocations: 212.1 kB / 0.7307 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.2078, allocations: 42.44 kB / 0.7307 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.295e-05/0.2079, allocations: 16.91 kB / 0.7307 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.2079, allocations: 0 / 0.7307 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.208, allocations: 38.55 kB / 0.7308 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.208, allocations: 0 / 0.7308 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003744/0.2083, allocations: 77.66 kB / 0.7309 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.2084, allocations: 55.41 kB / 0.7309 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.2085, allocations: 105.8 kB / 0.731 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.2085, allocations: 33.58 kB / 0.731 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.461e-05/0.2086, allocations: 84.08 kB / 0.7311 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.2086, allocations: 7.953 kB / 0.7311 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.2086, allocations: 17.7 kB / 0.7311 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.2088, allocations: 314.8 kB / 0.7315 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.493e-05/0.2089, allocations: 20.11 kB / 0.7315 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.022e-05/0.209, allocations: 11.98 kB / 0.7315 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.2091, allocations: 40.81 kB / 0.7315 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2091, allocations: 3.938 kB / 0.7315 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001915/0.2093, allocations: 61.77 kB / 0.7316 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2093, allocations: 8 kB / 0.7316 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2093, allocations: 0 / 0.7316 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.2093, allocations: 3.984 kB / 0.7316 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.628e-05/0.2094, allocations: 15.94 kB / 0.7316 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.2095, allocations: 7.984 kB / 0.7316 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.796e-05/0.2095, allocations: 7.984 kB / 0.7316 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.2095, allocations: 0 / 0.7316 GB, free: 13.17 MB / 0.5606 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.807e-05/0.2096, allocations: 113.8 kB / 0.7317 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.2096, allocations: 3.953 kB / 0.7317 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.2099, allocations: 72.97 kB / 0.7318 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.2099, allocations: 4 kB / 0.7318 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.2099, allocations: 3.984 kB / 0.7318 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2099, allocations: 0 / 0.7318 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.2101, allocations: 128.7 kB / 0.7319 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2101, allocations: 0 / 0.7319 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.003e-05/0.2101, allocations: 11.98 kB / 0.7319 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2101, allocations: 4.125 kB / 0.732 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.2101, allocations: 4.031 kB / 0.732 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2101, allocations: 0 / 0.732 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2101, allocations: 0 / 0.732 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.2104, allocations: 163.4 kB / 0.7321 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.106e-06/0.2104, allocations: 4 kB / 0.7321 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.2104, allocations: 7.984 kB / 0.7321 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.549e-05/0.2105, allocations: 4 kB / 0.7321 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.2106, allocations: 0 / 0.7321 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.2106, allocations: 8.016 kB / 0.7321 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.306e-05/0.2106, allocations: 83.22 kB / 0.7322 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2106, allocations: 0 / 0.7322 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002162/0.2108, allocations: 8 kB / 0.7322 GB, free: 12.48 MB / 0.5606 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.0007338/0.2116, allocations: 0.6967 MB / 0.7329 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.2118, allocations: 47.92 kB / 0.7329 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2118, allocations: 0 / 0.7329 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.288e-05/0.2119, allocations: 15.98 kB / 0.733 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.2122, allocations: 0.9844 kB / 0.733 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/0.2127, allocations: 150.5 kB / 0.7331 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.152e-05/0.2128, allocations: 63.34 kB / 0.7332 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.386e-05/0.2128, allocations: 128 / 0.7332 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.2129, allocations: 11.44 kB / 0.7332 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.2129, allocations: 0 / 0.7332 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.2413, allocations: 1.807 MB / 0.7349 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.24, allocations: 1.25 kB / 0.7349 GB, free: 9.75 MB / 0.5606 GB " [Timeout remaining time 649] (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: 14.952226369874552] Failed to read output from testmodel.py, exit status != 0: 11.344715022016317 11.360648833 11.151418516 Calling exit ...