Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_8_Buildings_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.0009816/0.0009816, allocations: 98.11 kB / 15.36 MB, free: 0.7305 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.0008091/0.0008092, allocations: 171.5 kB / 16.26 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.682/1.682, allocations: 292.7 MB / 0.5502 GB, free: 14.44 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004985/0.0004985, allocations: 16.97 kB / 0.6744 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2166, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004524/0.2211, allocations: 4.244 MB / 0.7921 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009434/0.2221, allocations: 0.8109 MB / 0.7929 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.112e-05/0.2222, allocations: 0 / 0.7929 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.2223, allocations: 23.89 kB / 0.793 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.16e-05/0.2224, allocations: 35.7 kB / 0.793 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.2227, allocations: 143.5 kB / 0.7931 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.2229, allocations: 163.4 kB / 0.7933 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.69e-05/0.223, allocations: 25.09 kB / 0.7933 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.2231, allocations: 71.7 kB / 0.7934 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.848e-05/0.2232, allocations: 67.73 kB / 0.7934 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.2233, allocations: 11.94 kB / 0.7935 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.2235, allocations: 143.8 kB / 0.7936 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.782e-05/0.2236, allocations: 27.89 kB / 0.7936 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.982e-05/0.2237, allocations: 89.36 kB / 0.7937 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.224, allocations: 235.5 kB / 0.7939 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.224, allocations: 0 / 0.7939 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.132e-06/0.224, allocations: 0 / 0.7939 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.224, allocations: 0 / 0.7939 GB, free: 5.34 MB / 0.6075 GB 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.0007434/0.2247, allocations: 467 kB / 0.7944 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2248, allocations: 12.03 kB / 0.7944 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.673e-05/0.2248, allocations: 38.73 kB / 0.7944 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.2249, allocations: 16.75 kB / 0.7944 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.225, allocations: 184.2 kB / 0.7946 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.225, allocations: 12.12 kB / 0.7946 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.2251, allocations: 12 kB / 0.7946 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.2254, allocations: 132.4 kB / 0.7948 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.2254, allocations: 0 / 0.7948 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.2254, allocations: 0 / 0.7948 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.2254, allocations: 4 kB / 0.7948 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004329/0.2259, allocations: 175.7 kB / 0.7949 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000897/0.2268, allocations: 476.5 kB / 0.7954 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.2271, allocations: 134.5 kB / 0.7955 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.2273, allocations: 88.75 kB / 0.7956 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/0.2286, allocations: 0.9568 MB / 0.7965 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.2286, allocations: 42.44 kB / 0.7966 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.2286, allocations: 0 / 0.7966 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0006804/0.2293, allocations: 245.3 kB / 0.7968 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.2294, allocations: 55.41 kB / 0.7969 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.2295, allocations: 163.3 kB / 0.797 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.2295, allocations: 25.7 kB / 0.797 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/0.2296, allocations: 108.4 kB / 0.7971 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.2296, allocations: 43.36 kB / 0.7972 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.2297, allocations: 29.7 kB / 0.7972 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.2298, allocations: 322.8 kB / 0.7975 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.23, allocations: 83.95 kB / 0.7976 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.2303, allocations: 130.8 kB / 0.7977 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004334/0.2307, allocations: 189.7 kB / 0.7979 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.2307, allocations: 0 / 0.7979 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005708/0.2313, allocations: 269.3 kB / 0.7982 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2313, allocations: 8 kB / 0.7982 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2314, allocations: 0 / 0.7982 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.2314, allocations: 4 kB / 0.7982 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.2316, allocations: 63.83 kB / 0.7982 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2317, allocations: 0 / 0.7982 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.2319, allocations: 43.77 kB / 0.7983 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.2319, allocations: 12 kB / 0.7983 GB, free: 496 kB / 0.6075 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.404e-05/0.232, allocations: 121.8 kB / 0.7984 GB, free: 364 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.232, allocations: 15.84 kB / 0.7984 GB, free: 348 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004922/0.2325, allocations: 199.3 kB / 0.7986 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2325, allocations: 0 / 0.7986 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.2325, allocations: 0 / 0.7986 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2326, allocations: 4 kB / 0.7986 GB, free: 136 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.2328, allocations: 225.6 kB / 0.7988 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2328, allocations: 0 / 0.7988 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.233, allocations: 39.86 kB / 0.7989 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.233, allocations: 4 kB / 0.7989 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.233, allocations: 3.984 kB / 0.7989 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.233, allocations: 0 / 0.7989 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.233, allocations: 0 / 0.7989 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004566/0.2335, allocations: 275.3 kB / 0.7991 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/0.2335, allocations: 104.8 kB / 0.7992 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.2336, allocations: 4 kB / 0.7992 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.2337, allocations: 15.98 kB / 0.7993 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.2338, allocations: 11.98 kB / 0.7993 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.2338, allocations: 7.984 kB / 0.7993 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.886e-05/0.2339, allocations: 112 kB / 0.7994 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2339, allocations: 0 / 0.7994 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003116/0.2342, allocations: 64.3 kB / 0.7994 GB, free: 15.2 MB / 0.6231 GB 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 (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.0008952/0.2351, allocations: 0.8683 MB / 0.8003 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005059/0.2356, allocations: 198.5 kB / 0.8005 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2356, allocations: 4 kB / 0.8005 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.2358, allocations: 79.89 kB / 0.8006 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.2362, allocations: 26.36 kB / 0.8006 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.2387, allocations: 2.041 MB / 0.8026 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.239, allocations: 0.7045 MB / 0.8033 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000105/0.2391, allocations: 32.28 kB / 0.8033 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.895e-05/0.2392, allocations: 35.42 kB / 0.8033 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.2392, allocations: 0 / 0.8033 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4287/0.668, allocations: 3.874 MB / 0.8071 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003056/0.6683, allocations: 226.9 kB / 0.8073 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/2.62, allocations: 2.672 kB / 0.8073 GB, free: 7.137 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)