Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.001467/0.001467, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00208/0.00208, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.83/1.83, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9438/0.9438, allocations: 132.2 MB / 423.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006934/0.0006937, allocations: 12 kB / 0.5033 GB, free: 4.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8176/0.8183, allocations: 81.57 MB / 0.583 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005605/0.824, allocations: 3.848 MB / 0.5867 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.8253, allocations: 0.7144 MB / 0.5874 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.637e-05/0.8254, allocations: 4.812 kB / 0.5874 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.8256, allocations: 26.2 kB / 0.5875 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.098e-05/0.8257, allocations: 33.08 kB / 0.5875 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005533/0.8263, allocations: 134.2 kB / 0.5876 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.8265, allocations: 112.2 kB / 0.5877 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.8266, allocations: 13.8 kB / 0.5877 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.8269, allocations: 64.8 kB / 0.5878 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.827, allocations: 75.28 kB / 0.5879 GB, free: 0.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.8271, allocations: 11.19 kB / 0.5879 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003859/0.8275, allocations: 118 kB / 0.588 GB, free: 484 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.168e-05/0.8275, allocations: 28.41 kB / 0.588 GB, free: 468 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.774e-05/0.8276, allocations: 48.77 kB / 0.5881 GB, free: 424 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.8279, allocations: 153.4 kB / 0.5882 GB, free: 388 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.8279, allocations: 0.7812 kB / 0.5882 GB, free: 388 kB / 430.1 MB Notification: Performance of FrontEnd: time 3.918e-06/0.8279, allocations: 0 / 0.5882 GB, free: 388 kB / 430.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.8279, allocations: 3.938 kB / 0.5882 GB, free: 384 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001021/0.829, allocations: 473.9 kB / 0.5887 GB, free: 15.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/0.829, allocations: 8.312 kB / 0.5887 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.692e-05/0.8291, allocations: 42.94 kB / 0.5887 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.8292, allocations: 10.03 kB / 0.5887 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.8294, allocations: 183.2 kB / 0.5889 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.277e-05/0.8294, allocations: 13.09 kB / 0.5889 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.8295, allocations: 11.06 kB / 0.5889 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/0.8299, allocations: 127.2 kB / 0.589 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.8299, allocations: 1.375 kB / 0.5891 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.83, allocations: 0.7031 kB / 0.5891 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.83, allocations: 10.42 kB / 0.5891 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005458/0.8305, allocations: 161.1 kB / 0.5892 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.8319, allocations: 473.2 kB / 0.5897 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004313/0.8324, allocations: 136.2 kB / 0.5898 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001832/0.8342, allocations: 0.9656 MB / 0.5907 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.8343, allocations: 40.14 kB / 0.5908 GB, free: 14.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 2.856e-06/0.8343, allocations: 1.094 kB / 0.5908 GB, free: 14.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009056/0.8352, allocations: 237.3 kB / 0.591 GB, free: 14.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.8352, allocations: 60.41 kB / 0.5911 GB, free: 14.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.8355, allocations: 161.4 kB / 0.5912 GB, free: 13.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.8356, allocations: 30.95 kB / 0.5912 GB, free: 13.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.8357, allocations: 108.6 kB / 0.5913 GB, free: 13.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.248e-05/0.8358, allocations: 39.67 kB / 0.5914 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.396e-05/0.8358, allocations: 5.25 kB / 0.5914 GB, free: 13.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000231/0.836, allocations: 325.7 kB / 0.5917 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/0.8364, allocations: 88.22 kB / 0.5918 GB, free: 13.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003806/0.8368, allocations: 117.4 kB / 0.5919 GB, free: 13.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.8371, allocations: 95.75 kB / 0.592 GB, free: 13.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.8371, allocations: 0.6562 kB / 0.592 GB, free: 13.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000877/0.838, allocations: 271.3 kB / 0.5922 GB, free: 13.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.8381, allocations: 5.609 kB / 0.5923 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.8381, allocations: 1.281 kB / 0.5923 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.8381, allocations: 2.531 kB / 0.5923 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.8385, allocations: 63.53 kB / 0.5923 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.8385, allocations: 1.469 kB / 0.5923 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.8388, allocations: 41.77 kB / 0.5924 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.695e-05/0.8388, allocations: 6.359 kB / 0.5924 GB, free: 13.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002087/0.839, allocations: 128.8 kB / 0.5925 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.8391, allocations: 13.05 kB / 0.5925 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007613/0.8399, allocations: 198.2 kB / 0.5927 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.8399, allocations: 1.375 kB / 0.5927 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.8399, allocations: 2.219 kB / 0.5927 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.8399, allocations: 4.734 kB / 0.5927 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004459/0.8404, allocations: 230.2 kB / 0.5929 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.8404, allocations: 0 / 0.5929 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.8406, allocations: 34.48 kB / 0.593 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.8406, allocations: 0 / 0.593 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.8406, allocations: 1.938 kB / 0.593 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.8406, allocations: 1.375 kB / 0.593 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.8406, allocations: 0 / 0.593 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006089/0.8413, allocations: 283.6 kB / 0.5932 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.964e-05/0.8414, allocations: 105.4 kB / 0.5933 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.8414, allocations: 1.422 kB / 0.5933 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.8416, allocations: 21.41 kB / 0.5933 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.8417, allocations: 8.469 kB / 0.5934 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.8417, allocations: 6.438 kB / 0.5934 GB, free: 12.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.8418, allocations: 121 kB / 0.5935 GB, free: 12.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.8419, allocations: 3.938 kB / 0.5935 GB, free: 12.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005334/0.8424, allocations: 54.42 kB / 0.5935 GB, free: 12.36 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001353/0.8438, allocations: 0.8653 MB / 0.5944 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007123/0.8445, allocations: 197.8 kB / 0.5946 GB, free: 11.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.8445, allocations: 0 / 0.5946 GB, free: 11.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002904/0.8448, allocations: 81.34 kB / 0.5946 GB, free: 11.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.8453, allocations: 21.89 kB / 0.5947 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.8471, allocations: 1.055 MB / 0.5957 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005609/0.8477, allocations: 0.7082 MB / 0.5964 GB, free: 9.926 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.8479, allocations: 15.61 kB / 0.5964 GB, free: 9.922 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.848, allocations: 34.61 kB / 0.5964 GB, free: 9.898 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.848, allocations: 3.938 kB / 0.5964 GB, free: 9.895 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4415/1.29, allocations: 3.941 MB / 0.6003 GB, free: 8.668 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002783/1.29, allocations: 187.8 kB / 0.6005 GB, free: 8.434 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.934/4.223, allocations: 0 / 0.6005 GB, free: 8.434 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) Environment - environmentSimulation: