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) 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/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001226/0.001226, allocations: 188 kB / 16.25 MB, free: 6.625 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.242/1.242, allocations: 222.9 MB / 239.9 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7022/0.7022, allocations: 132.2 MB / 422.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001167, allocations: 55.5 kB / 0.5014 GB, free: 9.016 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1305, allocations: 80.21 MB / 0.5797 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003209/0.1338, allocations: 2.139 MB / 0.5818 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.1355, allocations: 1.165 MB / 0.5829 GB, free: 5.703 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.1356, allocations: 4 kB / 0.5829 GB, free: 5.699 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003611/0.136, allocations: 103.8 kB / 0.583 GB, free: 5.598 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.068e-05/0.1361, allocations: 35.72 kB / 0.5831 GB, free: 5.562 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006046/0.1367, allocations: 223.7 kB / 0.5833 GB, free: 5.344 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.137, allocations: 323.3 kB / 0.5836 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.1372, allocations: 98.78 kB / 0.5837 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.001e-05/0.1373, allocations: 107.6 kB / 0.5838 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.1374, allocations: 143.4 kB / 0.5839 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.1375, allocations: 28 kB / 0.5839 GB, free: 4.656 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002835/0.1378, allocations: 215.7 kB / 0.5841 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.646e-05/0.1379, allocations: 91.73 kB / 0.5842 GB, free: 4.355 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.138, allocations: 155.1 kB / 0.5844 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004548/0.1385, allocations: 0.5414 MB / 0.5849 GB, free: 3.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1385, allocations: 0 / 0.5849 GB, free: 3.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1385, allocations: 0 / 0.5849 GB, free: 3.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1385, allocations: 0 / 0.5849 GB, free: 3.66 MB / 494.1 MB 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.0009698/0.1395, allocations: 0.8126 MB / 0.5857 GB, free: 2.762 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.1395, allocations: 8.031 kB / 0.5857 GB, free: 2.754 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.016e-05/0.1395, allocations: 54.67 kB / 0.5858 GB, free: 2.691 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.683e-05/0.1396, allocations: 36.5 kB / 0.5858 GB, free: 2.656 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.1399, allocations: 324.4 kB / 0.5861 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.14, allocations: 12.66 kB / 0.5861 GB, free: 2.289 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.14, allocations: 23.94 kB / 0.5861 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005365/0.1405, allocations: 290.9 kB / 0.5864 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1406, allocations: 0 / 0.5864 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.1406, allocations: 8 kB / 0.5864 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1406, allocations: 4 kB / 0.5864 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005973/0.1412, allocations: 272.4 kB / 0.5867 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008304/0.142, allocations: 0.6756 MB / 0.5873 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00047/0.1425, allocations: 226.6 kB / 0.5876 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/0.1429, allocations: 192.7 kB / 0.5877 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.1429, allocations: 4 kB / 0.5877 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.1429, allocations: 30.56 kB / 0.5878 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.1429, allocations: 3.938 kB / 0.5878 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.001213/0.1441, allocations: 0.6662 MB / 0.5884 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.1442, allocations: 136.5 kB / 0.5886 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.1446, allocations: 380.4 kB / 0.5889 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.1446, allocations: 29.7 kB / 0.589 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.731e-05/0.1447, allocations: 172.3 kB / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.1447, allocations: 43.5 kB / 0.5892 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.87e-05/0.1448, allocations: 49.64 kB / 0.5892 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1449, allocations: 342.8 kB / 0.5895 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003982/0.1454, allocations: 235.8 kB / 0.5898 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/0.1458, allocations: 240.5 kB / 0.59 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008221/0.1466, allocations: 0.6836 MB / 0.5907 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1466, allocations: 0 / 0.5907 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000958/0.1476, allocations: 0.7367 MB / 0.5914 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-05/0.1477, allocations: 178.2 kB / 0.5915 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.1477, allocations: 0 / 0.5915 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1477, allocations: 7.984 kB / 0.5916 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.1479, allocations: 31.91 kB / 0.5916 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1479, allocations: 4 kB / 0.5916 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.1481, allocations: 47.66 kB / 0.5916 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.1481, allocations: 15.94 kB / 0.5916 GB, free: 12.32 MB / 0.4981 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.0001863/0.1483, allocations: 255.6 kB / 0.5919 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.1484, allocations: 31.62 kB / 0.5919 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/0.1484, allocations: 26.94 kB / 0.5919 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1484, allocations: 3.984 kB / 0.592 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.1484, allocations: 8 kB / 0.592 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.1484, allocations: 0 / 0.592 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.1487, allocations: 341.3 kB / 0.5923 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1488, allocations: 0 / 0.5923 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.1489, allocations: 31.91 kB / 0.5923 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1489, allocations: 0 / 0.5923 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.1489, allocations: 8 kB / 0.5923 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1489, allocations: 0 / 0.5923 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.149, allocations: 4 kB / 0.5923 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008678/0.1498, allocations: 0.6197 MB / 0.5929 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.1499, allocations: 112.7 kB / 0.593 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.15, allocations: 8 kB / 0.593 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.1502, allocations: 27.97 kB / 0.5931 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.1503, allocations: 31.97 kB / 0.5931 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.1503, allocations: 4 kB / 0.5931 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002406/0.1505, allocations: 279 kB / 0.5934 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1506, allocations: 0 / 0.5934 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003746/0.1509, allocations: 99.94 kB / 0.5935 GB, free: 10.33 MB / 0.4981 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.001243/0.1522, allocations: 1.221 MB / 0.5947 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001024/0.1532, allocations: 0.8438 MB / 0.5955 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1532, allocations: 0 / 0.5955 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004562/0.1537, allocations: 378 kB / 0.5958 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.1541, allocations: 66.27 kB / 0.5959 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005167/0.1593, allocations: 4.507 MB / 0.6003 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.1596, allocations: 0.787 MB / 0.6011 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.815e-05/0.1597, allocations: 25.94 kB / 0.6011 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.1598, allocations: 83.41 kB / 0.6012 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1598, allocations: 4 kB / 0.6012 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6267/0.7865, allocations: 8.255 MB / 0.6092 GB, free: 56.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/0.7867, allocations: 232.3 kB / 0.6095 GB, free: 56.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/2.611, allocations: 0 / 0.6095 GB, free: 56.14 MB / 0.4981 GB (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 --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)