Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Average.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.0007736/0.0007736, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008239/0.0008239, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9335/0.9335, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.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.7301/0.7301, allocations: 154.6 MB / 413.8 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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.Utilities.Math.Examples.Average,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Average,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.231e-05/1.388e-05, allocations: 7.844 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.001863/0.001876, allocations: 1.535 MB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002551/0.002131, allocations: 119.7 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.632e-05/0.002178, allocations: 7.875 kB / 0.6197 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.002287, allocations: 11.92 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 1.955e-05/0.002307, allocations: 7.875 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.002536, allocations: 31.89 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.364e-05/0.00262, allocations: 63.77 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.843e-05/0.002718, allocations: 8 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.861e-05/0.002777, allocations: 35.95 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.557e-05/0.002832, allocations: 23.91 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.002847, allocations: 8 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.365e-05/0.002901, allocations: 15.98 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.86e-05/0.002939, allocations: 11.98 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.002964, allocations: 15.94 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.003088, allocations: 67.72 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.00309, allocations: 0 / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.92e-07/0.003091, allocations: 0 / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.003096, allocations: 0 / 0.62 GB, free: 11.66 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003868/0.003483, allocations: 298.1 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.003522, allocations: 16.03 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.047e-05/0.003552, allocations: 34.75 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.246e-05/0.003575, allocations: 8.891 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.003714, allocations: 133.6 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.003722, allocations: 384 / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-06/0.003732, allocations: 8.359 kB / 0.6205 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.003909, allocations: 90.14 kB / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.003916, allocations: 192 / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.003927, allocations: 8.359 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.003932, allocations: 8.125 kB / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.004084, allocations: 75.92 kB / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.004441, allocations: 287.8 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.004559, allocations: 62.53 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.007e-05/0.004639, allocations: 36.92 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.004671, allocations: 0 / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.004689, allocations: 34.56 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.00469, allocations: 0 / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002999/0.00499, allocations: 145.6 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.005016, allocations: 51.41 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.875e-05/0.005075, allocations: 117.8 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.727e-06/0.005083, allocations: 25.7 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.005121, allocations: 96.03 kB / 0.6215 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.005138, allocations: 15.89 kB / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/0.005165, allocations: 17.72 kB / 0.6215 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.884e-05/0.005234, allocations: 310.8 kB / 0.6218 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-05/0.005307, allocations: 39.95 kB / 0.6219 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.625e-05/0.005373, allocations: 35.95 kB / 0.6219 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.005507, allocations: 76.72 kB / 0.622 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.005509, allocations: 0 / 0.622 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001662/0.005675, allocations: 105.6 kB / 0.6221 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.005686, allocations: 7.938 kB / 0.6221 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.005691, allocations: 0 / 0.6221 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.005701, allocations: 0 / 0.6221 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.166e-05/0.005773, allocations: 19.97 kB / 0.6221 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.005777, allocations: 0 / 0.6221 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.616e-05/0.005813, allocations: 11.98 kB / 0.6221 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.005829, allocations: 4 kB / 0.6221 GB, free: 9.32 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 (3): * Single equations (assignments): 3 * 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.019e-05/0.005889, allocations: 118.8 kB / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.005904, allocations: 11.94 kB / 0.6222 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.006098, allocations: 109.5 kB / 0.6223 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.006099, allocations: 4 kB / 0.6223 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.006103, allocations: 0 / 0.6223 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.006105, allocations: 0 / 0.6223 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.006215, allocations: 148.7 kB / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.006215, allocations: 0 / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/0.006256, allocations: 23.98 kB / 0.6225 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.006259, allocations: 384 / 0.6225 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.006265, allocations: 3.984 kB / 0.6225 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.006266, allocations: 0 / 0.6225 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.006267, allocations: 0 / 0.6225 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.006453, allocations: 207.4 kB / 0.6227 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-06/0.006459, allocations: 3.984 kB / 0.6227 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.006469, allocations: 7.938 kB / 0.6227 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.235e-05/0.006522, allocations: 11.98 kB / 0.6227 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.006556, allocations: 3.984 kB / 0.6227 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.006561, allocations: 4 kB / 0.6227 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.309e-05/0.006594, allocations: 87.28 kB / 0.6228 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006594, allocations: 0 / 0.6228 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001497/0.006743, allocations: 15.89 kB / 0.6228 GB, free: 8.496 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 (3): * Single equations (assignments): 3 * 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.0004179/0.007161, allocations: 0.7388 MB / 0.6236 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.00737, allocations: 79.86 kB / 0.6236 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.007371, allocations: 3.938 kB / 0.6236 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.839e-05/0.007449, allocations: 47.89 kB / 0.6237 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.007683, allocations: 4 kB / 0.6237 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.008913, allocations: 1.427 MB / 0.6251 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.101e-05/0.008964, allocations: 75.58 kB / 0.6252 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.248e-05/0.008996, allocations: 7.984 kB / 0.6252 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/0.009032, allocations: 16.5 kB / 0.6252 GB, free: 5.973 MB / 0.5886 GB Notification: Performance of SimCode: time 6.91e-07/0.009033, allocations: 0 / 0.6252 GB, free: 5.973 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01554/0.02457, allocations: 2.523 MB / 0.6276 GB, free: 3.598 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.841/6.866, allocations: 0.7031 kB / 0.6277 GB, free: 3.598 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Average.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.Average_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_Utilities_Math_Examples_Average.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.759701571427286] Failed to read output from testmodel.py, exit status != 0: 6.946751720272005 6.956021294 6.950706892 Calling exit ...