Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.0008048/0.0008048, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.0007664/0.0007664, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8661/0.8661, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.704/0.704, allocations: 154.6 MB / 413.8 MB, free: 0.7734 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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359e-05/1.501e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002178/0.002193, allocations: 2.038 MB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.003432, allocations: 1.141 MB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.158e-05/0.003514, allocations: 4 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000342/0.003856, allocations: 119.2 kB / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.089e-05/0.003927, allocations: 51.58 kB / 0.6214 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004917/0.004418, allocations: 262.1 kB / 0.6216 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.004648, allocations: 315.1 kB / 0.6219 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.004773, allocations: 67.52 kB / 0.622 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.004884, allocations: 151.7 kB / 0.6221 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.004993, allocations: 103.7 kB / 0.6222 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.005024, allocations: 32 kB / 0.6223 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002532/0.005277, allocations: 239.6 kB / 0.6225 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.784e-05/0.005355, allocations: 87.73 kB / 0.6226 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.073e-05/0.005425, allocations: 99.77 kB / 0.6227 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004523/0.005878, allocations: 0.6115 MB / 0.6233 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.00588, allocations: 0 / 0.6233 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.62e-07/0.005881, allocations: 0 / 0.6233 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.005886, allocations: 0 / 0.6233 GB, free: 8.32 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007742/0.00666, allocations: 0.7393 MB / 0.624 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.006699, allocations: 8.031 kB / 0.624 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.006741, allocations: 54.73 kB / 0.6241 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.619e-05/0.006797, allocations: 40.69 kB / 0.6241 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.007089, allocations: 266 kB / 0.6244 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.007104, allocations: 12.66 kB / 0.6244 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.007126, allocations: 16.38 kB / 0.6244 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/0.007529, allocations: 384.5 kB / 0.6248 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.007538, allocations: 4.125 kB / 0.6248 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.007554, allocations: 8.125 kB / 0.6248 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.00756, allocations: 8 kB / 0.6248 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003977/0.007958, allocations: 361.5 kB / 0.6251 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006369/0.008595, allocations: 0.5703 MB / 0.6257 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003604/0.008955, allocations: 311.7 kB / 0.626 GB, free: 5.355 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.00919, allocations: 273.8 kB / 0.6262 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.009202, allocations: 0 / 0.6262 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.009221, allocations: 38.48 kB / 0.6263 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=14): time 9.72e-07/0.009221, allocations: 7.938 kB / 0.6263 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14): time 0.0008084/0.01003, allocations: 0.8364 MB / 0.6271 GB, free: 4.113 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.01008, allocations: 136.5 kB / 0.6272 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.01034, allocations: 388.4 kB / 0.6276 GB, free: 3.57 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.01036, allocations: 29.7 kB / 0.6276 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.958e-05/0.01044, allocations: 168.4 kB / 0.6278 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.01047, allocations: 51.62 kB / 0.6278 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.01053, allocations: 41.7 kB / 0.6279 GB, free: 3.27 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.01062, allocations: 342.8 kB / 0.6282 GB, free: 2.926 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/0.01093, allocations: 418 kB / 0.6286 GB, free: 2.48 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.01123, allocations: 430 kB / 0.629 GB, free: 2.023 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005626/0.01179, allocations: 0.6947 MB / 0.6297 GB, free: 1.273 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.01179, allocations: 3.938 kB / 0.6297 GB, free: 1.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006636/0.01245, allocations: 0.9233 MB / 0.6306 GB, free: 272 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.612e-05/0.01253, allocations: 186.2 kB / 0.6308 GB, free: 48 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.01254, allocations: 0 / 0.6308 GB, free: 48 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.01255, allocations: 0 / 0.6308 GB, free: 48 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.565e-05/0.01263, allocations: 27.97 kB / 0.6308 GB, free: 20 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.01264, allocations: 0 / 0.6308 GB, free: 20 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.01275, allocations: 43.81 kB / 0.6308 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.01277, allocations: 12 kB / 0.6308 GB, free: 15.96 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * 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.0001335/0.0129, allocations: 255.8 kB / 0.6311 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.01293, allocations: 39.75 kB / 0.6311 GB, free: 15.65 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.01297, allocations: 26.88 kB / 0.6312 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01297, allocations: 4 kB / 0.6312 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.01297, allocations: 0 / 0.6312 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01298, allocations: 0 / 0.6312 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.01317, allocations: 284.4 kB / 0.6314 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.01317, allocations: 0 / 0.6314 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7e-05/0.01324, allocations: 31.97 kB / 0.6315 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.01325, allocations: 0 / 0.6315 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.01326, allocations: 8 kB / 0.6315 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01326, allocations: 0 / 0.6315 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01326, allocations: 0 / 0.6315 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005688/0.01383, allocations: 0.7121 MB / 0.6322 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/0.01387, allocations: 35.8 kB / 0.6322 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.01389, allocations: 8 kB / 0.6322 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.01399, allocations: 27.95 kB / 0.6322 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.223e-05/0.01408, allocations: 23.97 kB / 0.6323 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-06/0.01408, allocations: 7.938 kB / 0.6323 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001788/0.01426, allocations: 279 kB / 0.6325 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.01426, allocations: 4 kB / 0.6325 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002621/0.01453, allocations: 111.8 kB / 0.6326 GB, free: 14 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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.0008998/0.01543, allocations: 1.318 MB / 0.6339 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007522/0.01618, allocations: 1.081 MB / 0.635 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01618, allocations: 0 / 0.635 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.01648, allocations: 459.1 kB / 0.6354 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.01676, allocations: 65.47 kB / 0.6355 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003798/0.02056, allocations: 5.293 MB / 0.6407 GB, free: 5.273 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.02067, allocations: 170.2 kB / 0.6408 GB, free: 5.086 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.568e-05/0.02073, allocations: 25.95 kB / 0.6408 GB, free: 5.055 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.35e-05/0.02083, allocations: 96.44 kB / 0.6409 GB, free: 4.961 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/0.02083, allocations: 0 / 0.6409 GB, free: 4.961 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02113/0.04195, allocations: 9.88 MB / 0.6506 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.401/7.443, allocations: 7.25 kB / 0.6506 GB, free: 11.39 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_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_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.116790374740958] Failed to read output from testmodel.py, exit status != 0: 7.528816187754273 7.53709683 7.529625623 Calling exit ...