Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.0008178/0.0008178, allocations: 109.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0008808/0.0008808, allocations: 216 kB / 22.25 MB, free: 3.578 MB / 13.93 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.108/1.108, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.848/0.848, allocations: 203.5 MB / 0.5039 GB, free: 10.74 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001046/0.001046, allocations: 65.89 kB / 0.7178 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6226/0.6237, allocations: 102 MB / 0.8174 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001735/0.6254, allocations: 0.706 MB / 0.8181 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.6269, allocations: 1.214 MB / 0.8192 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.981e-05/0.627, allocations: 1.938 kB / 0.8192 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.147e-05/0.627, allocations: 4.688 kB / 0.8192 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.701e-05/0.6271, allocations: 11.17 kB / 0.8193 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007049/0.6278, allocations: 150.5 kB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.628, allocations: 122.6 kB / 0.8195 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.6281, allocations: 13.73 kB / 0.8195 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.6282, allocations: 46.94 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.706e-05/0.6283, allocations: 37.66 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.6284, allocations: 11.41 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.99e-05/0.6284, allocations: 24.75 kB / 0.8196 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.677e-05/0.6285, allocations: 19.16 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.262e-05/0.6285, allocations: 33.5 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.6287, allocations: 110.2 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.6288, allocations: 3.938 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6288, allocations: 4 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.6288, allocations: 3.469 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006231/0.6294, allocations: 340 kB / 0.8201 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.6294, allocations: 7.125 kB / 0.8201 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.924e-05/0.6295, allocations: 44.12 kB / 0.8202 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.6296, allocations: 8.484 kB / 0.8202 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.6297, allocations: 108.9 kB / 0.8203 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.6297, allocations: 4.234 kB / 0.8203 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.6297, allocations: 10.03 kB / 0.8203 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.6299, allocations: 68.77 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.6299, allocations: 3.938 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.6299, allocations: 4.562 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.63, allocations: 2.281 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.6301, allocations: 41.89 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005306/0.6306, allocations: 278.6 kB / 0.8207 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.6308, allocations: 51.81 kB / 0.8207 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.61e-05/0.6308, allocations: 27.56 kB / 0.8208 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.6309, allocations: 0.8438 kB / 0.8208 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002913/0.6312, allocations: 91.62 kB / 0.8209 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.755e-06/0.6312, allocations: 0 / 0.8209 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003589/0.6315, allocations: 135.7 kB / 0.821 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.6316, allocations: 56.91 kB / 0.821 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.6317, allocations: 115.5 kB / 0.8212 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.6317, allocations: 28.08 kB / 0.8212 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.6318, allocations: 93.31 kB / 0.8213 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.6318, allocations: 16.91 kB / 0.8213 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.6318, allocations: 35.59 kB / 0.8213 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0004272/0.6323, allocations: 323.4 kB / 0.8216 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.6324, allocations: 80.55 kB / 0.8217 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.6326, allocations: 116.3 kB / 0.8218 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.6328, allocations: 135.7 kB / 0.8219 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.6328, allocations: 0 / 0.8219 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003622/0.6331, allocations: 230.3 kB / 0.8222 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.417e-05/0.6332, allocations: 41.11 kB / 0.8222 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.6332, allocations: 1.438 kB / 0.8222 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.6332, allocations: 9.266 kB / 0.8222 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.6333, allocations: 11.97 kB / 0.8222 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.6333, allocations: 6.297 kB / 0.8222 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.6335, allocations: 26.33 kB / 0.8223 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.6335, allocations: 11.8 kB / 0.8223 GB, free: 13.62 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.000114/0.6336, allocations: 125 kB / 0.8224 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.6336, allocations: 7.781 kB / 0.8224 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000298/0.6339, allocations: 119.3 kB / 0.8225 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.6339, allocations: 0 / 0.8225 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.6339, allocations: 0.5625 kB / 0.8225 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.634, allocations: 0 / 0.8225 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.6343, allocations: 325.6 kB / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.6343, allocations: 4 kB / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.241e-05/0.6344, allocations: 16.53 kB / 0.8228 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.6344, allocations: 4 kB / 0.8228 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.6344, allocations: 0.6094 kB / 0.8228 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.6344, allocations: 0 / 0.8228 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.6344, allocations: 7.594 kB / 0.8228 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.6346, allocations: 202.3 kB / 0.823 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.261e-05/0.6346, allocations: 6.891 kB / 0.823 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.6347, allocations: 1.375 kB / 0.823 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.003e-05/0.6347, allocations: 10.66 kB / 0.8231 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.6348, allocations: 10.56 kB / 0.8231 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.6348, allocations: 6.281 kB / 0.8231 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.771e-05/0.6348, allocations: 88.81 kB / 0.8232 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6348, allocations: 0 / 0.8232 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002283/0.6351, allocations: 21.58 kB / 0.8232 GB, free: 12.88 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * 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.0005514/0.6356, allocations: 0.7399 MB / 0.8239 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003591/0.636, allocations: 193.3 kB / 0.8241 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.636, allocations: 3.938 kB / 0.8241 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.121e-05/0.636, allocations: 36.44 kB / 0.8241 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.6363, allocations: 12.34 kB / 0.8241 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.638, allocations: 1.77 MB / 0.8259 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.138e-05/0.638, allocations: 69.38 kB / 0.8259 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.997e-05/0.6381, allocations: 4.453 kB / 0.8259 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.6381, allocations: 20.69 kB / 0.826 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of SimCode: time 1.834e-06/0.6381, allocations: 0 / 0.826 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02633/0.6645, allocations: 3.093 MB / 0.829 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.061/7.725, allocations: 5.594 kB / 0.829 GB, free: 9.473 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Discrete_Validation_TriggeredMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.014667919836938] Failed to read output from testmodel.py, exit status != 0: 7.810313144233078 7.831192521 7.198845516 Calling exit ...