Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.00165/0.00165, allocations: 105 kB / 20.48 MB, free: 1.488 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.002069/0.002069, allocations: 213.4 kB / 23.79 MB, free: 4.703 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.638/1.638, allocations: 230.6 MB / 257.6 MB, free: 7.984 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.9699/0.9699, allocations: 150 MB / 464 MB, free: 10.5 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.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",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.002044/0.002044, allocations: 66.25 kB / 0.642 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2018, allocations: 89.17 MB / 0.7291 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002224/0.204, allocations: 0.7482 MB / 0.7299 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.2057, allocations: 1.104 MB / 0.7309 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.413e-05/0.2057, allocations: 0 / 0.7309 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.686e-05/0.2057, allocations: 11.86 kB / 0.7309 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.186e-05/0.2058, allocations: 11.86 kB / 0.731 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.2061, allocations: 51.89 kB / 0.731 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.2063, allocations: 75.77 kB / 0.7311 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.2064, allocations: 12.19 kB / 0.7311 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.353e-05/0.2065, allocations: 31.86 kB / 0.7311 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.112e-05/0.2066, allocations: 35.89 kB / 0.7312 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.2066, allocations: 8 kB / 0.7312 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.315e-05/0.2067, allocations: 15.98 kB / 0.7312 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.511e-05/0.2067, allocations: 19.92 kB / 0.7312 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.2067, allocations: 31.84 kB / 0.7312 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.2069, allocations: 75.97 kB / 0.7313 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2069, allocations: 0 / 0.7313 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2069, allocations: 0 / 0.7313 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.2069, allocations: 0 / 0.7313 GB, free: 15.01 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005474/0.2075, allocations: 314 kB / 0.7316 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.2075, allocations: 15.97 kB / 0.7316 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.494e-05/0.2075, allocations: 192 / 0.7316 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.377e-05/0.2076, allocations: 34.73 kB / 0.7316 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.2076, allocations: 8.891 kB / 0.7317 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.2077, allocations: 114.5 kB / 0.7318 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.2077, allocations: 4.375 kB / 0.7318 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.2077, allocations: 8.375 kB / 0.7318 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.208, allocations: 81.66 kB / 0.7319 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.208, allocations: 0 / 0.7319 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.208, allocations: 0 / 0.7319 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.208, allocations: 3.984 kB / 0.7319 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.2082, allocations: 43.95 kB / 0.7319 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008114/0.209, allocations: 291.8 kB / 0.7322 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.2093, allocations: 58.48 kB / 0.7322 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.2094, allocations: 32.95 kB / 0.7323 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.2094, allocations: 0 / 0.7323 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004028/0.2098, allocations: 79.38 kB / 0.7323 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.2098, allocations: 0 / 0.7323 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.000581/0.2104, allocations: 129.5 kB / 0.7325 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.2105, allocations: 59.39 kB / 0.7325 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.2106, allocations: 113.8 kB / 0.7326 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.2106, allocations: 29.7 kB / 0.7327 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.2107, allocations: 100.1 kB / 0.7328 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.2107, allocations: 11.91 kB / 0.7328 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-05/0.2108, allocations: 29.7 kB / 0.7328 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.2109, allocations: 322.8 kB / 0.7331 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.211, allocations: 31.91 kB / 0.7331 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.2112, allocations: 73.98 kB / 0.7332 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.2114, allocations: 109.8 kB / 0.7333 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/0.2114, allocations: 4 kB / 0.7333 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003298/0.2118, allocations: 129.7 kB / 0.7334 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.2118, allocations: 10.53 kB / 0.7334 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.2118, allocations: 3.984 kB / 0.7334 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.2118, allocations: 4 kB / 0.7335 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.212, allocations: 19.92 kB / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.212, allocations: 4 kB / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.804e-05/0.2121, allocations: 15.92 kB / 0.7335 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.2121, allocations: 7.938 kB / 0.7335 GB, free: 12.52 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.000115/0.2122, allocations: 117.8 kB / 0.7336 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.2122, allocations: 7.953 kB / 0.7336 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.204e-05/0.2122, allocations: 12.38 kB / 0.7336 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2122, allocations: 3.938 kB / 0.7336 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2122, allocations: 0 / 0.7336 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2122, allocations: 3.984 kB / 0.7336 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005046/0.2127, allocations: 341.5 kB / 0.734 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2127, allocations: 0 / 0.734 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.984e-05/0.2128, allocations: 19.92 kB / 0.734 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2128, allocations: 0 / 0.734 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.2128, allocations: 11.88 kB / 0.734 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2128, allocations: 0 / 0.734 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2128, allocations: 0 / 0.734 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003185/0.2131, allocations: 199.4 kB / 0.7342 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.55e-05/0.2132, allocations: 11.95 kB / 0.7342 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.2132, allocations: 7.938 kB / 0.7342 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.227e-05/0.2133, allocations: 7.984 kB / 0.7342 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.2133, allocations: 4 kB / 0.7342 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.2133, allocations: 3.984 kB / 0.7342 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.007e-05/0.2134, allocations: 102.6 kB / 0.7343 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2134, allocations: 0 / 0.7343 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002554/0.2136, allocations: 19.92 kB / 0.7343 GB, free: 11.59 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007071/0.2143, allocations: 0.7441 MB / 0.7351 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002725/0.2146, allocations: 72.2 kB / 0.7351 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-05/0.2146, allocations: 8.062 kB / 0.7351 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.2147, allocations: 31.98 kB / 0.7352 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.215, allocations: 20.12 kB / 0.7352 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.2171, allocations: 1.524 MB / 0.7367 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.2175, allocations: 0.6885 MB / 0.7373 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.207e-05/0.2175, allocations: 4 kB / 0.7374 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.2176, allocations: 23.42 kB / 0.7374 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.2176, allocations: 0 / 0.7374 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.2401, allocations: 2.246 MB / 0.7396 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.51, allocations: 3.438 kB / 0.7396 GB, free: 6.215 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.51782768103294] Failed to read output from testmodel.py, exit status != 0: 11.670856287993956 11.688249392 11.477529565 Calling exit ...