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.0008496/0.0008496, 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.0009531/0.0009531, allocations: 216 kB / 22.25 MB, free: 3.73 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 0.9733/0.9733, allocations: 230.6 MB / 256 MB, free: 9.629 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.807/0.807, allocations: 203.5 MB / 0.5039 GB, free: 10.75 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.001012/0.001012, allocations: 70.92 kB / 0.7178 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5403/0.5413, allocations: 102 MB / 0.8174 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001686/0.543, allocations: 0.7073 MB / 0.8181 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.5441, allocations: 1.217 MB / 0.8192 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.445e-05/0.5442, allocations: 0 / 0.8192 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.331e-05/0.5442, allocations: 4.594 kB / 0.8192 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.324e-05/0.5443, allocations: 13.19 kB / 0.8193 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004858/0.5448, allocations: 152.9 kB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.545, allocations: 113.6 kB / 0.8195 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.5451, allocations: 17.48 kB / 0.8195 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.928e-05/0.5452, allocations: 49.52 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.5453, allocations: 46.69 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.5453, allocations: 6.938 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.061e-05/0.5454, allocations: 28.34 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.795e-05/0.5454, allocations: 13.72 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.056e-05/0.5454, allocations: 35.31 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.5456, allocations: 114.6 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5457, allocations: 7.312 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5457, allocations: 0 / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.5457, allocations: 0.9375 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.0005124/0.5462, allocations: 329.5 kB / 0.8201 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.5462, allocations: 12.66 kB / 0.8201 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.193e-05/0.5462, allocations: 35.97 kB / 0.8202 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.666e-05/0.5463, allocations: 9.797 kB / 0.8202 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.382e-05/0.5464, allocations: 116.4 kB / 0.8203 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.5464, allocations: 3.391 kB / 0.8203 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.5465, allocations: 7.875 kB / 0.8203 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.5466, allocations: 63.27 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.5466, allocations: 6.625 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.5466, allocations: 4.547 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.5466, allocations: 0 / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.5467, allocations: 43.98 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.5472, allocations: 289.5 kB / 0.8207 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.5473, allocations: 46.88 kB / 0.8207 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.528e-05/0.5473, allocations: 27.02 kB / 0.8208 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.5474, allocations: 1.734 kB / 0.8208 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.5475, allocations: 90.12 kB / 0.8209 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.5475, allocations: 0 / 0.8209 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002838/0.5478, allocations: 136.9 kB / 0.821 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.5479, allocations: 53.64 kB / 0.821 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.548, allocations: 121.8 kB / 0.8212 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.548, allocations: 28.92 kB / 0.8212 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.5481, allocations: 98.5 kB / 0.8213 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.5481, allocations: 15.84 kB / 0.8213 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/0.5481, allocations: 32.19 kB / 0.8213 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.917e-05/0.5482, allocations: 327.2 kB / 0.8216 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.5483, allocations: 83.28 kB / 0.8217 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.5484, allocations: 111.6 kB / 0.8218 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.5486, allocations: 129.3 kB / 0.8219 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5486, allocations: 0 / 0.8219 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002828/0.5489, allocations: 233.8 kB / 0.8222 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.5489, allocations: 38.67 kB / 0.8222 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5489, allocations: 0 / 0.8222 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.5489, allocations: 4.25 kB / 0.8222 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.321e-05/0.549, allocations: 9.297 kB / 0.8222 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.549, allocations: 2.719 kB / 0.8222 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.5491, allocations: 29.5 kB / 0.8223 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.5491, allocations: 11.36 kB / 0.8223 GB, free: 13.63 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.0001659/0.5493, allocations: 132.5 kB / 0.8224 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.5493, allocations: 7.656 kB / 0.8224 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.5495, allocations: 112.6 kB / 0.8225 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.5495, allocations: 0 / 0.8225 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5495, allocations: 0 / 0.8225 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5496, allocations: 0.6562 kB / 0.8225 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.5498, allocations: 333.8 kB / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5498, allocations: 4 kB / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.5499, allocations: 9.578 kB / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5499, allocations: 0.75 kB / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.5499, allocations: 6.562 kB / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5499, allocations: 0 / 0.8228 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5499, allocations: 3.938 kB / 0.8228 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.5501, allocations: 208.7 kB / 0.823 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.288e-06/0.5501, allocations: 12.95 kB / 0.8231 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.5501, allocations: 6.656 kB / 0.8231 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.369e-05/0.5501, allocations: 11.09 kB / 0.8231 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.5502, allocations: 12.25 kB / 0.8231 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.5502, allocations: 3 kB / 0.8231 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.602e-05/0.5502, allocations: 93.25 kB / 0.8232 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5502, allocations: 0 / 0.8232 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001775/0.5504, allocations: 18.66 kB / 0.8232 GB, free: 12.87 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.0003975/0.5508, allocations: 0.7403 MB / 0.8239 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002635/0.551, allocations: 183.8 kB / 0.8241 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.551, allocations: 0 / 0.8241 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.134e-05/0.5511, allocations: 35.28 kB / 0.8241 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.5513, allocations: 12.16 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.001648/0.553, allocations: 1.772 MB / 0.8259 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.981e-05/0.553, allocations: 70.2 kB / 0.8259 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.806e-05/0.5531, allocations: 5.312 kB / 0.8259 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.257e-05/0.5531, allocations: 19.73 kB / 0.826 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of SimCode: time 1.232e-06/0.5531, allocations: 4 kB / 0.826 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.5755, allocations: 3.092 MB / 0.829 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.638/7.213, allocations: 7.625 kB / 0.829 GB, free: 9.473 MB / 0.6198 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 10.293407093267888] Failed to read output from testmodel.py, exit status != 0: 7.291648232843727 7.305337068 6.756863062 Calling exit ...