Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.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.0008964/0.0008964, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.001054/0.001054, allocations: 165.9 kB / 22.45 MB, free: 2.102 MB / 18.57 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.8931/0.8931, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7286/0.7286, allocations: 154.5 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.466e-05/1.656e-05, allocations: 5.781 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001125/0.001142, allocations: 0.6471 MB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001341/0.001276, allocations: 11.94 kB / 0.6188 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.035e-05/0.001316, allocations: 0 / 0.6188 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.653e-05/0.001413, allocations: 7.938 kB / 0.6188 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.769e-05/0.00145, allocations: 4 kB / 0.6188 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 6.372e-05/0.001514, allocations: 0 / 0.6188 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.585e-05/0.0016, allocations: 35.89 kB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.001714, allocations: 19.92 kB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.778e-05/0.001752, allocations: 19.92 kB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.976e-05/0.001782, allocations: 15.98 kB / 0.6189 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.001803, allocations: 4 kB / 0.6189 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-06/0.001812, allocations: 0 / 0.6189 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/0.00184, allocations: 15.92 kB / 0.6189 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.001865, allocations: 8 kB / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.597e-05/0.001951, allocations: 51.8 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.001953, allocations: 0 / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.42e-07/0.001953, allocations: 0 / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.001957, allocations: 0 / 0.6189 GB, free: 12.84 MB / 0.5886 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.0002744/0.002231, allocations: 270.2 kB / 0.6192 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.002268, allocations: 17.41 kB / 0.6192 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.964e-05/0.002297, allocations: 42.73 kB / 0.6192 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.989e-05/0.002317, allocations: 8.891 kB / 0.6193 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.002432, allocations: 113.8 kB / 0.6194 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.002443, allocations: 4.375 kB / 0.6194 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-06/0.002451, allocations: 4.375 kB / 0.6194 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.002574, allocations: 78.22 kB / 0.6194 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.002581, allocations: 192 / 0.6194 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.00259, allocations: 8.312 kB / 0.6195 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.002595, allocations: 4.125 kB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.416e-05/0.002649, allocations: 43.97 kB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000358/0.003007, allocations: 454.2 kB / 0.6199 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.678e-05/0.003074, allocations: 177.1 kB / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.003096, allocations: 80.14 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.003115, allocations: 75.28 kB / 0.6202 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.003145, allocations: 105.8 kB / 0.6203 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 6.92e-07/0.003146, allocations: 0 / 0.6203 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 4.961e-05/0.003196, allocations: 37.7 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.003239, allocations: 130.6 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.003354, allocations: 169.8 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.244e-06/0.003361, allocations: 25.7 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.00341, allocations: 100.1 kB / 0.6208 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.003412, allocations: 4 kB / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.003438, allocations: 21.66 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.741e-05/0.003516, allocations: 322.8 kB / 0.6211 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.328e-05/0.003529, allocations: 8 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.071e-05/0.003539, allocations: 7.984 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.99e-05/0.003569, allocations: 12.86 kB / 0.6211 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.003571, allocations: 0 / 0.6211 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.247e-05/0.003664, allocations: 57.56 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.003675, allocations: 4 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.00368, allocations: 4.094 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.003689, allocations: 0 / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.913e-05/0.003738, allocations: 4 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.003742, allocations: 0 / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/0.003761, allocations: 19.83 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.003769, allocations: 0 / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.86e-05/0.003838, allocations: 194.1 kB / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.003876, allocations: 108.9 kB / 0.6215 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.98e-05/0.003915, allocations: 120.7 kB / 0.6216 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.715e-05/0.003963, allocations: 180.2 kB / 0.6218 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.981e-05/0.004012, allocations: 180.2 kB / 0.622 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.342e-05/0.004056, allocations: 184.3 kB / 0.6222 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.004208, allocations: 392.2 kB / 0.6225 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.971e-05/0.004237, allocations: 113 kB / 0.6226 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.242e-05/0.00426, allocations: 101 kB / 0.6227 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.982e-05/0.0043, allocations: 180.2 kB / 0.6229 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.41e-05/0.004344, allocations: 188.4 kB / 0.6231 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.302e-05/0.004387, allocations: 188.2 kB / 0.6233 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.832e-05/0.004425, allocations: 176.3 kB / 0.6234 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.34e-05/0.004518, allocations: 307.7 kB / 0.6237 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.004556, allocations: 116.9 kB / 0.6238 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.004604, allocations: 184.2 kB / 0.624 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.004817, allocations: 105 kB / 0.6241 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.00486, allocations: 180.2 kB / 0.6243 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.004883, allocations: 112.9 kB / 0.6244 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.354e-05/0.004957, allocations: 133.1 kB / 0.6245 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004957, allocations: 0 / 0.6245 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00014/0.005097, allocations: 4 kB / 0.6245 GB, free: 6.707 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.000244/0.005341, allocations: 0.8048 MB / 0.6253 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.969e-05/0.0054, allocations: 15.92 kB / 0.6253 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.005402, allocations: 4.062 kB / 0.6253 GB, free: 5.852 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.005403, allocations: 0 / 0.6253 GB, free: 5.852 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.005709, allocations: 465.7 kB / 0.6258 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009942/0.006703, allocations: 1.614 MB / 0.6274 GB, free: 3.695 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.566e-05/0.006759, allocations: 75.33 kB / 0.6274 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.128e-05/0.00678, allocations: 4.109 kB / 0.6274 GB, free: 3.598 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.006819, allocations: 24.42 kB / 0.6275 GB, free: 3.574 MB / 0.5886 GB Notification: Performance of SimCode: time 1.152e-06/0.00682, allocations: 0 / 0.6275 GB, free: 3.574 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.02267, allocations: 2.283 MB / 0.6297 GB, free: 1.434 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.738/6.76, allocations: 2.031 kB / 0.6297 GB, free: 1.434 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.594655830413103] Failed to read output from testmodel.py, exit status != 0: 6.8412767723202705 6.849394017 6.845749195 Calling exit ...