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.006918/0.006918, allocations: 99.59 kB / 15.73 MB, free: 6.484 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.001868/0.001868, allocations: 196.7 kB / 16.68 MB, free: 6.363 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.384/1.384, 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.9309/0.9309, allocations: 135.5 MB / 426.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 63.91 kB / 0.5858 GB, free: 3.176 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3743, allocations: 81.02 MB / 0.6649 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002646/0.377, allocations: 2.089 MB / 0.6669 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.3784, allocations: 1.165 MB / 0.6681 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.799e-05/0.3785, allocations: 7.844 kB / 0.6681 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.3789, allocations: 108 kB / 0.6682 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.28e-05/0.3789, allocations: 46.7 kB / 0.6682 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005878/0.3795, allocations: 255.9 kB / 0.6685 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002769/0.3798, allocations: 329.5 kB / 0.6688 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.38, allocations: 98.47 kB / 0.6689 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.399e-05/0.3801, allocations: 108.1 kB / 0.669 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.3802, allocations: 131.5 kB / 0.6691 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.32e-05/0.3803, allocations: 30.53 kB / 0.6691 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003079/0.3806, allocations: 225.9 kB / 0.6693 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.134e-05/0.3807, allocations: 94.19 kB / 0.6694 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.3808, allocations: 149.3 kB / 0.6696 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004544/0.3812, allocations: 0.5533 MB / 0.6701 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3812, allocations: 1.312 kB / 0.6701 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.654e-06/0.3812, allocations: 0 / 0.6701 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.3813, allocations: 0 / 0.6701 GB, free: 2.938 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.0008772/0.3821, allocations: 0.8234 MB / 0.6709 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.3822, allocations: 8.969 kB / 0.6709 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.937e-05/0.3822, allocations: 57.02 kB / 0.671 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.914e-05/0.3823, allocations: 37.95 kB / 0.671 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.3826, allocations: 322 kB / 0.6713 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.3826, allocations: 16.47 kB / 0.6713 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.3826, allocations: 20.66 kB / 0.6714 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005214/0.3832, allocations: 289.1 kB / 0.6716 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3832, allocations: 0 / 0.6716 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.3832, allocations: 6.625 kB / 0.6716 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.3832, allocations: 3.875 kB / 0.6716 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006241/0.3839, allocations: 269.5 kB / 0.6719 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007457/0.3846, allocations: 0.6729 MB / 0.6726 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/0.3851, allocations: 236.3 kB / 0.6728 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003663/0.3855, allocations: 190.2 kB / 0.673 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.3855, allocations: 1.062 kB / 0.673 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.3855, allocations: 39.59 kB / 0.673 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.3855, allocations: 1.219 kB / 0.673 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.001193/0.3867, allocations: 0.6765 MB / 0.6737 GB, free: 268 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.3868, allocations: 137 kB / 0.6738 GB, free: 104 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/0.3872, allocations: 383.6 kB / 0.6742 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.3872, allocations: 32.17 kB / 0.6742 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.3873, allocations: 164.9 kB / 0.6744 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.751e-05/0.3874, allocations: 45.8 kB / 0.6744 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.909e-05/0.3875, allocations: 50.33 kB / 0.6744 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3877, allocations: 346.9 kB / 0.6748 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004422/0.3881, allocations: 240.4 kB / 0.675 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004309/0.3886, allocations: 244 kB / 0.6752 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009538/0.3895, allocations: 0.6779 MB / 0.6759 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3895, allocations: 1.562 kB / 0.6759 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00109/0.3906, allocations: 0.7232 MB / 0.6766 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.3908, allocations: 186.2 kB / 0.6768 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3908, allocations: 0 / 0.6768 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3908, allocations: 1.062 kB / 0.6768 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.391, allocations: 35.66 kB / 0.6768 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.391, allocations: 4 kB / 0.6768 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.3912, allocations: 48.83 kB / 0.6769 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.3912, allocations: 7.688 kB / 0.6769 GB, free: 13.88 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.0002332/0.3915, allocations: 255.9 kB / 0.6771 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/0.3915, allocations: 30.19 kB / 0.6772 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.174e-05/0.3916, allocations: 32.56 kB / 0.6772 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3916, allocations: 1.25 kB / 0.6772 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.3916, allocations: 3.984 kB / 0.6772 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3916, allocations: 5.344 kB / 0.6772 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003611/0.392, allocations: 347 kB / 0.6775 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.392, allocations: 0 / 0.6775 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.3922, allocations: 39.25 kB / 0.6776 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.3922, allocations: 5.828 kB / 0.6776 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.3922, allocations: 3.25 kB / 0.6776 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.3922, allocations: 1.094 kB / 0.6776 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3922, allocations: 3.938 kB / 0.6776 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009784/0.3932, allocations: 0.623 MB / 0.6782 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.574e-05/0.3933, allocations: 110.4 kB / 0.6783 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.472e-05/0.3933, allocations: 7.5 kB / 0.6783 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.3936, allocations: 24.22 kB / 0.6783 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.3937, allocations: 26.09 kB / 0.6783 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.3937, allocations: 12.78 kB / 0.6784 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002841/0.394, allocations: 278 kB / 0.6786 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.394, allocations: 1 kB / 0.6786 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004186/0.3944, allocations: 104.7 kB / 0.6787 GB, free: 12.46 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.001447/0.3959, allocations: 1.219 MB / 0.6799 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001176/0.3971, allocations: 0.8331 MB / 0.6807 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.3971, allocations: 4 kB / 0.6807 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005098/0.3976, allocations: 371.5 kB / 0.6811 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.398, allocations: 80.86 kB / 0.6812 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005727/0.4038, allocations: 4.432 MB / 0.6855 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.4042, allocations: 0.7839 MB / 0.6863 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.095e-05/0.4043, allocations: 19.73 kB / 0.6863 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.4044, allocations: 89.62 kB / 0.6864 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of SimCode: time 4.61e-07/0.4044, allocations: 0 / 0.6864 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.434, allocations: 8.709 MB / 0.6949 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.461, allocations: 11.86 kB / 0.6949 GB, free: 1.539 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)