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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9421/0.9421, allocations: 133.9 MB / 436.6 MB, free: 14.11 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002215/0.002215, allocations: 75.88 kB / 0.6051 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4789/0.4811, allocations: 84.67 MB / 0.6878 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003483/0.4846, allocations: 2.096 MB / 0.6899 GB, free: 100 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002073/0.4867, allocations: 1.185 MB / 0.691 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003648/0.487, allocations: 2.219 kB / 0.691 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004145/0.4874, allocations: 113.4 kB / 0.6911 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.4876, allocations: 55.02 kB / 0.6912 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008019/0.4884, allocations: 253.6 kB / 0.6914 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003946/0.4888, allocations: 299.4 kB / 0.6917 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.4889, allocations: 73.72 kB / 0.6918 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.489, allocations: 100.8 kB / 0.6919 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.4892, allocations: 140 kB / 0.692 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.042e-05/0.4893, allocations: 30.16 kB / 0.692 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004438/0.4897, allocations: 234.1 kB / 0.6923 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.4899, allocations: 87.05 kB / 0.6923 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.49, allocations: 149.5 kB / 0.6925 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007502/0.4908, allocations: 0.5621 MB / 0.693 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.202e-05/0.4908, allocations: 1.094 kB / 0.693 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.458e-06/0.4908, allocations: 0 / 0.693 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.732e-05/0.4909, allocations: 0 / 0.693 GB, free: 13.79 MB / 0.5137 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.00176/0.4926, allocations: 0.8239 MB / 0.6938 GB, free: 13 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.4927, allocations: 9.188 kB / 0.6938 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.713e-05/0.4927, allocations: 48.83 kB / 0.6939 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.11e-05/0.4928, allocations: 38.02 kB / 0.6939 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005855/0.4934, allocations: 321.4 kB / 0.6942 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.4934, allocations: 17.12 kB / 0.6943 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.4934, allocations: 19.59 kB / 0.6943 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006177/0.4941, allocations: 301.8 kB / 0.6946 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.4941, allocations: 0 / 0.6946 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.4941, allocations: 7.156 kB / 0.6946 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.4941, allocations: 3.531 kB / 0.6946 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006332/0.4947, allocations: 273.7 kB / 0.6948 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.4958, allocations: 0.6653 MB / 0.6955 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007148/0.4965, allocations: 223.3 kB / 0.6957 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003626/0.4969, allocations: 185.1 kB / 0.6959 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.4969, allocations: 1.375 kB / 0.6959 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.4969, allocations: 41.25 kB / 0.6959 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.4969, allocations: 0 / 0.6959 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.001365/0.4983, allocations: 0.6717 MB / 0.6966 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.4984, allocations: 140.5 kB / 0.6967 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004477/0.4989, allocations: 380.9 kB / 0.6971 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.4989, allocations: 31.08 kB / 0.6971 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.499, allocations: 169.4 kB / 0.6973 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.074e-05/0.4991, allocations: 41.95 kB / 0.6973 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.4992, allocations: 50.88 kB / 0.6973 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.4994, allocations: 343.7 kB / 0.6977 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004705/0.4999, allocations: 239.2 kB / 0.6979 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007273/0.5006, allocations: 236.8 kB / 0.6981 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009522/0.5015, allocations: 0.6855 MB / 0.6988 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.5015, allocations: 3.938 kB / 0.6988 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00122/0.5028, allocations: 0.7271 MB / 0.6995 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.5029, allocations: 185.6 kB / 0.6997 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.5029, allocations: 5.625 kB / 0.6997 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.5029, allocations: 0 / 0.6997 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.5031, allocations: 27.03 kB / 0.6997 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.423e-06/0.5031, allocations: 1.219 kB / 0.6997 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.5033, allocations: 48.45 kB / 0.6998 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.5034, allocations: 10.72 kB / 0.6998 GB, free: 8.727 MB / 0.5137 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.0003084/0.5037, allocations: 272.7 kB / 0.7 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.5037, allocations: 30.03 kB / 0.7001 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.717e-05/0.5038, allocations: 29.22 kB / 0.7001 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.5038, allocations: 1.312 kB / 0.7001 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.5038, allocations: 0 / 0.7001 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.5038, allocations: 3.938 kB / 0.7001 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004534/0.5043, allocations: 348.3 kB / 0.7004 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5043, allocations: 0 / 0.7004 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.5044, allocations: 27.47 kB / 0.7005 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.5044, allocations: 5.188 kB / 0.7005 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.5044, allocations: 7.688 kB / 0.7005 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.5044, allocations: 1.531 kB / 0.7005 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5044, allocations: 0 / 0.7005 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.5056, allocations: 0.6251 MB / 0.7011 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.5057, allocations: 117.7 kB / 0.7012 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.5058, allocations: 3.969 kB / 0.7012 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.506, allocations: 24.59 kB / 0.7012 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.5061, allocations: 29.56 kB / 0.7012 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.5061, allocations: 13.16 kB / 0.7013 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003332/0.5065, allocations: 274.1 kB / 0.7015 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.5065, allocations: 4 kB / 0.7015 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004883/0.507, allocations: 101.8 kB / 0.7016 GB, free: 7.312 MB / 0.5137 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.001548/0.5085, allocations: 1.215 MB / 0.7028 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00155/0.5101, allocations: 0.8168 MB / 0.7036 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5101, allocations: 0 / 0.7036 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005329/0.5106, allocations: 370.2 kB / 0.704 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.5111, allocations: 77.31 kB / 0.704 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00656/0.5177, allocations: 4.424 MB / 0.7084 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.5181, allocations: 0.7909 MB / 0.7091 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.813e-05/0.5182, allocations: 17.95 kB / 0.7091 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.5184, allocations: 91.41 kB / 0.7092 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.5184, allocations: 0 / 0.7092 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03688/0.5552, allocations: 8.73 MB / 0.7178 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.679/9.234, allocations: 11.3 kB / 0.7178 GB, free: 7.387 MB / 0.5294 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 12.851505088154227] Failed to read output from testmodel.py, exit status != 0: 9.3104437883012 9.333555915 8.838473667 Calling exit ...