Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007504/0.007505, allocations: 103.5 kB / 15.73 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001832/0.001831, allocations: 190.6 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9308/0.9308, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 55.91 kB / 0.5852 GB, free: 3.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3993, allocations: 80.9 MB / 0.6642 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002744/0.4021, allocations: 2.1 MB / 0.6662 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.4037, allocations: 1.168 MB / 0.6674 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.4038, allocations: 4.094 kB / 0.6674 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00039/0.4042, allocations: 114.9 kB / 0.6675 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.863e-05/0.4043, allocations: 54.73 kB / 0.6675 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006717/0.405, allocations: 248.5 kB / 0.6678 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003087/0.4053, allocations: 325.6 kB / 0.6681 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.4055, allocations: 97.28 kB / 0.6682 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.442e-05/0.4056, allocations: 105.3 kB / 0.6683 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.4058, allocations: 131.8 kB / 0.6684 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.393e-05/0.4058, allocations: 29.47 kB / 0.6684 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003311/0.4061, allocations: 230.4 kB / 0.6686 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.338e-05/0.4062, allocations: 81.97 kB / 0.6687 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.4064, allocations: 153.5 kB / 0.6689 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004647/0.4068, allocations: 0.5638 MB / 0.6694 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4068, allocations: 5.094 kB / 0.6694 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4068, allocations: 0 / 0.6694 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.4069, allocations: 0 / 0.6694 GB, free: 3.305 MB / 0.4981 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.0009938/0.4079, allocations: 0.8042 MB / 0.6702 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.4079, allocations: 10.38 kB / 0.6702 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.408, allocations: 52.2 kB / 0.6703 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.828e-05/0.408, allocations: 34.19 kB / 0.6703 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.4084, allocations: 325 kB / 0.6706 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.4084, allocations: 17.53 kB / 0.6706 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.4085, allocations: 15.78 kB / 0.6706 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005517/0.409, allocations: 292.5 kB / 0.6709 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.409, allocations: 1.531 kB / 0.6709 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.4091, allocations: 10.28 kB / 0.6709 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.4091, allocations: 3.719 kB / 0.6709 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000611/0.4097, allocations: 269.7 kB / 0.6712 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008223/0.4105, allocations: 0.6734 MB / 0.6718 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005032/0.411, allocations: 223.9 kB / 0.6721 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003981/0.4114, allocations: 193.7 kB / 0.6722 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.4115, allocations: 1.125 kB / 0.6722 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.4115, allocations: 35.41 kB / 0.6723 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 2.335e-06/0.4115, allocations: 0 / 0.6723 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.001262/0.4128, allocations: 0.6711 MB / 0.6729 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.4128, allocations: 141.1 kB / 0.6731 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.4132, allocations: 375.8 kB / 0.6734 GB, free: 280 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.4132, allocations: 27.92 kB / 0.6734 GB, free: 248 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.933e-05/0.4133, allocations: 168.6 kB / 0.6736 GB, free: 92 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.4133, allocations: 45.48 kB / 0.6737 GB, free: 52 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.923e-05/0.4134, allocations: 47.7 kB / 0.6737 GB, free: 20 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.4136, allocations: 346.1 kB / 0.674 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004412/0.414, allocations: 235.8 kB / 0.6743 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004227/0.4144, allocations: 241.2 kB / 0.6745 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009314/0.4154, allocations: 0.685 MB / 0.6752 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4154, allocations: 0 / 0.6752 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001102/0.4165, allocations: 0.728 MB / 0.6759 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.4166, allocations: 188.3 kB / 0.676 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4166, allocations: 0 / 0.676 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.4167, allocations: 1.188 kB / 0.676 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.4168, allocations: 27.41 kB / 0.6761 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4169, allocations: 1.344 kB / 0.6761 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.4171, allocations: 47.91 kB / 0.6761 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.4171, allocations: 14.2 kB / 0.6761 GB, free: 14.29 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.0002305/0.4174, allocations: 257.6 kB / 0.6764 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/0.4174, allocations: 30.91 kB / 0.6764 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.276e-05/0.4175, allocations: 28.47 kB / 0.6764 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.4175, allocations: 1.031 kB / 0.6764 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4175, allocations: 1.125 kB / 0.6764 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/0.4175, allocations: 11.92 kB / 0.6764 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.4179, allocations: 347.3 kB / 0.6768 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4179, allocations: 0 / 0.6768 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.4181, allocations: 36.5 kB / 0.6768 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.4181, allocations: 0 / 0.6768 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.4181, allocations: 4.031 kB / 0.6768 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4181, allocations: 8.984 kB / 0.6768 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4181, allocations: 0 / 0.6768 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009674/0.4191, allocations: 0.6261 MB / 0.6774 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.692e-05/0.4192, allocations: 105.4 kB / 0.6775 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/0.4192, allocations: 8.422 kB / 0.6775 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.4195, allocations: 31.47 kB / 0.6776 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.4196, allocations: 25.97 kB / 0.6776 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.4196, allocations: 9.5 kB / 0.6776 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002936/0.4199, allocations: 270 kB / 0.6779 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4199, allocations: 0 / 0.6779 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004612/0.4204, allocations: 112.5 kB / 0.678 GB, free: 12.88 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.001413/0.4218, allocations: 1.209 MB / 0.6792 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001116/0.423, allocations: 0.8372 MB / 0.68 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.423, allocations: 0 / 0.68 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005101/0.4235, allocations: 375.8 kB / 0.6803 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.4239, allocations: 72.12 kB / 0.6804 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005586/0.4295, allocations: 4.435 MB / 0.6847 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.4299, allocations: 0.7841 MB / 0.6855 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001017/0.43, allocations: 27.59 kB / 0.6855 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.4301, allocations: 92.5 kB / 0.6856 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of SimCode: time 6.41e-07/0.4301, allocations: 0 / 0.6856 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.4595, allocations: 8.883 MB / 0.6943 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/8.51, allocations: 8.781 kB / 0.6943 GB, free: 2.129 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)