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.001448/0.001448, allocations: 109 kB / 20.48 MB, free: 1.465 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.001569/0.001569, allocations: 213.8 kB / 23.79 MB, free: 4.676 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.492/1.492, allocations: 230.6 MB / 257.6 MB, free: 7.969 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.017/1.017, allocations: 150 MB / 464 MB, free: 10.52 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="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.002097/0.002097, allocations: 70.22 kB / 0.6421 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2075, allocations: 89.16 MB / 0.7292 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002161/0.2097, allocations: 0.6651 MB / 0.7298 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.2109, allocations: 0.851 MB / 0.7306 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.722e-05/0.2109, allocations: 0 / 0.7306 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.817e-05/0.2109, allocations: 0 / 0.7306 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.193e-05/0.211, allocations: 7.938 kB / 0.7306 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.2112, allocations: 7.984 kB / 0.7307 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.28e-05/0.2113, allocations: 27.92 kB / 0.7307 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.2114, allocations: 3.984 kB / 0.7307 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.474e-05/0.2115, allocations: 15.94 kB / 0.7307 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.864e-05/0.2115, allocations: 11.98 kB / 0.7307 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.2115, allocations: 4 kB / 0.7307 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.677e-05/0.2116, allocations: 4 kB / 0.7307 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.628e-05/0.2116, allocations: 7.938 kB / 0.7307 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.2116, allocations: 7.922 kB / 0.7307 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.2117, allocations: 36.11 kB / 0.7308 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2118, allocations: 0 / 0.7308 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2118, allocations: 0 / 0.7308 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.2118, allocations: 0 / 0.7308 GB, free: 15.61 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.0004392/0.2122, allocations: 266.3 kB / 0.731 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.2122, allocations: 8.031 kB / 0.731 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.419e-05/0.2123, allocations: 4.188 kB / 0.731 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.855e-05/0.2123, allocations: 30.75 kB / 0.7311 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.795e-05/0.2124, allocations: 0.9375 kB / 0.7311 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.2125, allocations: 114.4 kB / 0.7312 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.2125, allocations: 4.359 kB / 0.7312 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.2125, allocations: 4.375 kB / 0.7312 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.2127, allocations: 53.98 kB / 0.7312 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2127, allocations: 0 / 0.7312 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2127, allocations: 4 kB / 0.7312 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.2127, allocations: 3.984 kB / 0.7312 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.2129, allocations: 35.91 kB / 0.7313 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.2132, allocations: 216 kB / 0.7315 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.2134, allocations: 42.59 kB / 0.7315 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.293e-05/0.2135, allocations: 20.91 kB / 0.7315 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.2135, allocations: 0 / 0.7315 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.2135, allocations: 30.56 kB / 0.7316 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.2135, allocations: 0 / 0.7316 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003845/0.2139, allocations: 93.52 kB / 0.7317 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.2139, allocations: 51.41 kB / 0.7317 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.611e-05/0.214, allocations: 101.8 kB / 0.7318 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.214, allocations: 25.7 kB / 0.7318 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.2141, allocations: 88.08 kB / 0.7319 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.2141, allocations: 3.953 kB / 0.7319 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.2141, allocations: 13.84 kB / 0.7319 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.2143, allocations: 318.8 kB / 0.7322 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.11e-05/0.2144, allocations: 19.97 kB / 0.7323 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.001e-05/0.2144, allocations: 11.98 kB / 0.7323 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.2146, allocations: 44.7 kB / 0.7323 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2146, allocations: 4.062 kB / 0.7323 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001912/0.2148, allocations: 65.66 kB / 0.7324 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2148, allocations: 4 kB / 0.7324 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2148, allocations: 0 / 0.7324 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.2148, allocations: 0 / 0.7324 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.671e-05/0.2149, allocations: 15.98 kB / 0.7324 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2149, allocations: 0 / 0.7324 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.215, allocations: 7.984 kB / 0.7324 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.215, allocations: 4.031 kB / 0.7324 GB, free: 13.74 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.69e-05/0.2151, allocations: 109.8 kB / 0.7325 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.2151, allocations: 7.953 kB / 0.7325 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.2153, allocations: 76.84 kB / 0.7326 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2153, allocations: 0 / 0.7326 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.2154, allocations: 4 kB / 0.7326 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2154, allocations: 4 kB / 0.7326 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.2155, allocations: 136.7 kB / 0.7327 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2155, allocations: 0 / 0.7327 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.273e-05/0.2156, allocations: 4 kB / 0.7327 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2156, allocations: 0 / 0.7327 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.2156, allocations: 4 kB / 0.7327 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.2156, allocations: 0 / 0.7327 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2156, allocations: 3.984 kB / 0.7327 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.2159, allocations: 167.4 kB / 0.7329 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-06/0.2159, allocations: 3.984 kB / 0.7329 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.2159, allocations: 0 / 0.7329 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.216, allocations: 4 kB / 0.7329 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.216, allocations: 3.984 kB / 0.7329 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.216, allocations: 4 kB / 0.7329 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.104e-05/0.2161, allocations: 79.47 kB / 0.733 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2161, allocations: 4 kB / 0.733 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002087/0.2163, allocations: 4.031 kB / 0.733 GB, free: 13.05 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.0005824/0.2168, allocations: 0.7045 MB / 0.7337 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.2171, allocations: 43.92 kB / 0.7337 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2171, allocations: 0 / 0.7337 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.172e-05/0.2171, allocations: 15.98 kB / 0.7337 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.2174, allocations: 6.656 kB / 0.7337 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004466/0.2179, allocations: 147.8 kB / 0.7339 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.2182, allocations: 0.677 MB / 0.7346 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.922e-05/0.2183, allocations: 0 / 0.7346 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.2183, allocations: 15.41 kB / 0.7346 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.2183, allocations: 0 / 0.7346 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/0.2403, allocations: 1.414 MB / 0.7359 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.44, allocations: 10.25 kB / 0.736 GB, free: 10.09 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.38246299396269] Failed to read output from testmodel.py, exit status != 0: 11.601837464026175 11.617443448 11.402363426 Calling exit ...