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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 114.4 kB / 19.59 MB, free: 2.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002277/0.002277, allocations: 189.5 kB / 22.85 MB, free: 5.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 225.6 MB / 251.5 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9814/0.9814, allocations: 149.5 MB / 456.3 MB, free: 1.332 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 68.3 kB / 0.6319 GB, free: 9.664 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2037, allocations: 87.87 MB / 0.7177 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002026/0.2057, allocations: 0.7442 MB / 0.7185 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.2072, allocations: 1.08 MB / 0.7195 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.335e-05/0.2072, allocations: 0 / 0.7195 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.291e-05/0.2073, allocations: 7.938 kB / 0.7195 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.569e-05/0.2073, allocations: 11.88 kB / 0.7195 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.2076, allocations: 55.81 kB / 0.7196 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.2078, allocations: 71.77 kB / 0.7197 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.2079, allocations: 20.11 kB / 0.7197 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.07e-05/0.208, allocations: 31.86 kB / 0.7197 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.449e-05/0.208, allocations: 35.84 kB / 0.7198 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.2081, allocations: 4 kB / 0.7198 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.187e-05/0.2081, allocations: 19.98 kB / 0.7198 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.792e-05/0.2081, allocations: 15.98 kB / 0.7198 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.358e-05/0.2082, allocations: 35.8 kB / 0.7198 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.2083, allocations: 79.69 kB / 0.7199 GB, free: 15.49 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2083, allocations: 0 / 0.7199 GB, free: 15.49 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2084, allocations: 0 / 0.7199 GB, free: 15.49 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.2084, allocations: 0 / 0.7199 GB, free: 15.49 MB / 0.545 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.0005381/0.2089, allocations: 302.1 kB / 0.7202 GB, free: 15.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2089, allocations: 12.62 kB / 0.7202 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/0.209, allocations: 30.75 kB / 0.7202 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.209, allocations: 8.891 kB / 0.7202 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.2091, allocations: 126.4 kB / 0.7204 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.2091, allocations: 8.375 kB / 0.7204 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.2092, allocations: 4.375 kB / 0.7204 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.2094, allocations: 65.98 kB / 0.7204 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2094, allocations: 0 / 0.7204 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.2094, allocations: 4 kB / 0.7204 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2094, allocations: 0 / 0.7204 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.2095, allocations: 47.89 kB / 0.7205 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000627/0.2102, allocations: 295.8 kB / 0.7208 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.2103, allocations: 50.5 kB / 0.7208 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.791e-05/0.2104, allocations: 36.98 kB / 0.7208 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.2105, allocations: 8 kB / 0.7209 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/0.2107, allocations: 71.38 kB / 0.7209 GB, free: 14.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.2107, allocations: 0 / 0.7209 GB, free: 14.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003985/0.2111, allocations: 133.6 kB / 0.7211 GB, free: 14.17 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.2111, allocations: 59.41 kB / 0.7211 GB, free: 14.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.2112, allocations: 121.8 kB / 0.7212 GB, free: 13.97 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.2112, allocations: 33.64 kB / 0.7213 GB, free: 13.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.629e-05/0.2113, allocations: 92.09 kB / 0.7213 GB, free: 13.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.2113, allocations: 15.84 kB / 0.7214 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.2114, allocations: 29.7 kB / 0.7214 GB, free: 13.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.2115, allocations: 326.8 kB / 0.7217 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.2117, allocations: 27.97 kB / 0.7217 GB, free: 13.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.2118, allocations: 74.42 kB / 0.7218 GB, free: 13.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.212, allocations: 101.9 kB / 0.7219 GB, free: 13.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.212, allocations: 0 / 0.7219 GB, free: 13.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003094/0.2123, allocations: 141.4 kB / 0.722 GB, free: 13.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.2123, allocations: 8 kB / 0.722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2123, allocations: 0 / 0.722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.2124, allocations: 4 kB / 0.722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.2125, allocations: 15.98 kB / 0.7221 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.2125, allocations: 7.938 kB / 0.7221 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.763e-05/0.2126, allocations: 7.984 kB / 0.7221 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.2126, allocations: 8.219 kB / 0.7221 GB, free: 13.02 MB / 0.545 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.0001116/0.2127, allocations: 123.8 kB / 0.7222 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.2127, allocations: 11.95 kB / 0.7222 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/0.2128, allocations: 16.36 kB / 0.7222 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2128, allocations: 0 / 0.7222 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2128, allocations: 0 / 0.7222 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2128, allocations: 0 / 0.7222 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004892/0.2132, allocations: 353.4 kB / 0.7226 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2133, allocations: 0 / 0.7226 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.948e-05/0.2133, allocations: 11.92 kB / 0.7226 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2133, allocations: 4 kB / 0.7226 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.2133, allocations: 0 / 0.7226 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.2133, allocations: 3.938 kB / 0.7226 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2133, allocations: 0 / 0.7226 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.2136, allocations: 211.8 kB / 0.7228 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.187e-05/0.2136, allocations: 3.953 kB / 0.7228 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.2137, allocations: 4 kB / 0.7228 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.235e-05/0.2137, allocations: 11.92 kB / 0.7228 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.2138, allocations: 7.922 kB / 0.7228 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.2138, allocations: 8 kB / 0.7228 GB, free: 12.19 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.398e-05/0.2139, allocations: 95.42 kB / 0.7229 GB, free: 12.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2139, allocations: 0 / 0.7229 GB, free: 12.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002467/0.2141, allocations: 12 kB / 0.7229 GB, free: 12.09 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: 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.0006639/0.2148, allocations: 0.7476 MB / 0.7236 GB, free: 11.31 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000272/0.215, allocations: 75.94 kB / 0.7237 GB, free: 11.24 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.215, allocations: 0 / 0.7237 GB, free: 11.24 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.2151, allocations: 27.98 kB / 0.7237 GB, free: 11.21 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.2154, allocations: 19.92 kB / 0.7238 GB, free: 11.19 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.2172, allocations: 1.516 MB / 0.7252 GB, free: 9.555 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.2176, allocations: 0.6885 MB / 0.7259 GB, free: 8.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.233e-05/0.2176, allocations: 11.98 kB / 0.7259 GB, free: 8.828 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.2177, allocations: 19.44 kB / 0.726 GB, free: 8.809 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.2177, allocations: 4 kB / 0.726 GB, free: 8.805 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.2432, allocations: 2.113 MB / 0.728 GB, free: 6.789 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.819/8.063, allocations: 11.48 kB / 0.728 GB, free: 6.785 MB / 0.545 GB " [Timeout remaining time 652] (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 sys.exit(0), Time elapsed: 11.911048475987627] Failed to read output from testmodel.py, exit status != 0: 8.134373284003232 8.158296256 7.946312095 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fa78247d7b0>