Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.001747/0.001747, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001977/0.001977, allocations: 216.5 kB / 22.99 MB, free: 4.977 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.9879/0.9879, allocations: 149.9 MB / 463 MB, free: 10.38 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.Discrete.Validation.FirstOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold",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.002475/0.002475, allocations: 66.83 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2066, allocations: 89.18 MB / 0.7281 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001882/0.2085, allocations: 0.6473 MB / 0.7288 GB, free: 408 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.21, allocations: 1.1 MB / 0.7299 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.228e-05/0.2101, allocations: 0 / 0.7299 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.2101, allocations: 3.938 kB / 0.7299 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.669e-05/0.2102, allocations: 15.86 kB / 0.7299 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.2105, allocations: 51.83 kB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.2106, allocations: 71.83 kB / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.2107, allocations: 8 kB / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.749e-05/0.2108, allocations: 27.91 kB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.503e-05/0.2108, allocations: 27.91 kB / 0.7301 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.2108, allocations: 7.938 kB / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.593e-05/0.2109, allocations: 27.92 kB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.973e-05/0.211, allocations: 15.98 kB / 0.7301 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.722e-05/0.211, allocations: 23.91 kB / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.2112, allocations: 83.91 kB / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2112, allocations: 0 / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2112, allocations: 4 kB / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2112, allocations: 0 / 0.7302 GB, free: 14.92 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006997/0.2119, allocations: 310.1 kB / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2119, allocations: 8.031 kB / 0.7305 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.924e-05/0.212, allocations: 34.75 kB / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.774e-05/0.2121, allocations: 12.92 kB / 0.7306 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.2122, allocations: 106.5 kB / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.2122, allocations: 12.31 kB / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.2123, allocations: 4.375 kB / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.2125, allocations: 90.91 kB / 0.7308 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.2125, allocations: 3.938 kB / 0.7308 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.2125, allocations: 7.984 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.2125, allocations: 0 / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.2127, allocations: 51.95 kB / 0.7308 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/0.2133, allocations: 271.8 kB / 0.7311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.2135, allocations: 82.47 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.2136, allocations: 36.83 kB / 0.7312 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.2136, allocations: 4 kB / 0.7312 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002508/0.2139, allocations: 91.36 kB / 0.7313 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.2139, allocations: 0 / 0.7313 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0005239/0.2144, allocations: 174 kB / 0.7315 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.2144, allocations: 59.39 kB / 0.7315 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.019e-05/0.2145, allocations: 105.8 kB / 0.7316 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.2146, allocations: 33.78 kB / 0.7316 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.2146, allocations: 92.31 kB / 0.7317 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.2147, allocations: 27.73 kB / 0.7318 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.2147, allocations: 29.81 kB / 0.7318 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2149, allocations: 330.7 kB / 0.7321 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.215, allocations: 35.97 kB / 0.7321 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.2151, allocations: 62.55 kB / 0.7322 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.2154, allocations: 99.62 kB / 0.7323 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2154, allocations: 0 / 0.7323 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000335/0.2157, allocations: 148.2 kB / 0.7324 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2157, allocations: 4 kB / 0.7324 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2157, allocations: 8.062 kB / 0.7324 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.2157, allocations: 0 / 0.7324 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.2159, allocations: 19.98 kB / 0.7325 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2159, allocations: 0 / 0.7325 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.496e-05/0.216, allocations: 15.88 kB / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.216, allocations: 8 kB / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001263/0.2161, allocations: 129.7 kB / 0.7326 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.2161, allocations: 4 kB / 0.7326 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003736/0.2165, allocations: 145.9 kB / 0.7328 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.2165, allocations: 0 / 0.7328 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2165, allocations: 4 kB / 0.7328 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.2165, allocations: 3.984 kB / 0.7328 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005736/0.2171, allocations: 381.4 kB / 0.7331 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2171, allocations: 0 / 0.7331 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.9e-05/0.2172, allocations: 11.98 kB / 0.7331 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2172, allocations: 0 / 0.7331 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.2172, allocations: 4 kB / 0.7331 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2172, allocations: 0 / 0.7331 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2172, allocations: 4.25 kB / 0.7331 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.2175, allocations: 247.4 kB / 0.7334 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.2176, allocations: 0 / 0.7334 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.2176, allocations: 12 kB / 0.7334 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.2177, allocations: 7.984 kB / 0.7334 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.2177, allocations: 11.92 kB / 0.7334 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-06/0.2177, allocations: 4 kB / 0.7334 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.654e-05/0.2178, allocations: 91.27 kB / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2178, allocations: 0 / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002505/0.218, allocations: 20 kB / 0.7335 GB, free: 11.23 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: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0007237/0.2188, allocations: 0.78 MB / 0.7343 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003083/0.2191, allocations: 95.88 kB / 0.7344 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2191, allocations: 4.125 kB / 0.7344 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.2192, allocations: 39.97 kB / 0.7344 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.2195, allocations: 11.94 kB / 0.7344 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.2213, allocations: 1.511 MB / 0.7359 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.565e-05/0.2214, allocations: 71.28 kB / 0.736 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.783e-05/0.2214, allocations: 8.422 kB / 0.736 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.83e-05/0.2214, allocations: 23.44 kB / 0.736 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of SimCode: time 4.1e-07/0.2214, allocations: 0 / 0.736 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03067/0.2521, allocations: 2.646 MB / 0.7386 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.33, allocations: 6.344 kB / 0.7386 GB, free: 6.062 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.125358222983778] Failed to read output from testmodel.py, exit status != 0: 11.434702923055738 11.460920968 11.244843431 Calling exit ...