Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",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.002118/0.002118, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002387/0.002387, allocations: 194.5 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.673/2.673, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.663/4.663, allocations: 390.2 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002896/0.002896, allocations: 59.91 kB / 0.8121 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258/1.261, allocations: 140.4 MB / 0.9492 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.005222/1.266, allocations: 1.636 MB / 0.9508 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002324/1.268, allocations: 0.9047 MB / 0.9517 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/1.269, allocations: 6.562 kB / 0.9517 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005006/1.269, allocations: 53.55 kB / 0.9518 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008574/1.27, allocations: 143.2 kB / 0.9519 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.965e-05/1.27, allocations: 5.25 kB / 0.9519 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007354/1.271, allocations: 357 kB / 0.9522 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/1.271, allocations: 45.8 kB / 0.9523 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004068/1.271, allocations: 146.7 kB / 0.9524 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003689/1.272, allocations: 151.8 kB / 0.9526 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.983e-05/1.272, allocations: 16 kB / 0.9526 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005614/1.278, allocations: 0.5621 MB / 0.9531 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002351/1.278, allocations: 54.55 kB / 0.9532 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004026/1.278, allocations: 137.7 kB / 0.9533 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02381/1.302, allocations: 13.31 MB / 0.9663 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/1.302, allocations: 1.5 kB / 0.9663 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.296e-06/1.302, allocations: 0 / 0.9663 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.111e-05/1.302, allocations: 4 kB / 0.9663 GB, free: 11.28 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.003727/1.306, allocations: 0.6441 MB / 0.967 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.516e-05/1.306, allocations: 10.62 kB / 0.967 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.924e-05/1.306, allocations: 38.75 kB / 0.967 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/1.306, allocations: 31.59 kB / 0.967 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/1.308, allocations: 379.3 kB / 0.9674 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/1.308, allocations: 3.656 kB / 0.9674 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/1.308, allocations: 4.031 kB / 0.9674 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004106/1.308, allocations: 102.6 kB / 0.9675 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/1.308, allocations: 0 / 0.9675 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/1.308, allocations: 1.375 kB / 0.9675 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/1.308, allocations: 4 kB / 0.9675 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002481/1.308, allocations: 68.7 kB / 0.9676 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009523/1.309, allocations: 347.8 kB / 0.9679 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/1.31, allocations: 120.2 kB / 0.968 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/1.31, allocations: 59.3 kB / 0.9681 GB, free: 9.668 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/1.31, allocations: 1.062 kB / 0.9681 GB, free: 9.668 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.542e-05/1.31, allocations: 40.69 kB / 0.9681 GB, free: 9.621 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 3.516e-06/1.31, allocations: 4 kB / 0.9681 GB, free: 9.617 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0008269/1.311, allocations: 181.3 kB / 0.9683 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/1.311, allocations: 131 kB / 0.9684 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/1.313, allocations: 0.5028 MB / 0.9689 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.803e-05/1.313, allocations: 27.05 kB / 0.9689 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/1.313, allocations: 168.5 kB / 0.9691 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.537e-05/1.313, allocations: 17.95 kB / 0.9691 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/1.313, allocations: 50.61 kB / 0.9692 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000282/1.314, allocations: 344.1 kB / 0.9695 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003796/1.314, allocations: 116.8 kB / 0.9696 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005163/1.314, allocations: 182.2 kB / 0.9698 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008992/1.315, allocations: 266.6 kB / 0.97 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/1.315, allocations: 1.062 kB / 0.97 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001232/1.317, allocations: 328.8 kB / 0.9703 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/1.317, allocations: 5.531 kB / 0.9703 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/1.317, allocations: 1.156 kB / 0.9703 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-05/1.317, allocations: 1.844 kB / 0.9703 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003922/1.317, allocations: 20.2 kB / 0.9704 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.283e-05/1.317, allocations: 1.688 kB / 0.9704 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005183/1.318, allocations: 28.91 kB / 0.9704 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/1.318, allocations: 7.578 kB / 0.9704 GB, free: 7.918 MB / 0.7325 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0004634/1.318, allocations: 181 kB / 0.9706 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/1.318, allocations: 33.84 kB / 0.9706 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008315/1.319, allocations: 184.4 kB / 0.9708 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/1.319, allocations: 6.312 kB / 0.9708 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/1.319, allocations: 1.094 kB / 0.9708 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/1.319, allocations: 1.125 kB / 0.9708 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007121/1.32, allocations: 288.9 kB / 0.9711 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/1.32, allocations: 0.9062 kB / 0.9711 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/1.32, allocations: 23.55 kB / 0.9711 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.225e-05/1.32, allocations: 2.094 kB / 0.9711 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/1.32, allocations: 5.062 kB / 0.9711 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.777e-05/1.32, allocations: 10.16 kB / 0.9711 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/1.321, allocations: 5 kB / 0.9711 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006514/1.321, allocations: 188.6 kB / 0.9713 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003315/1.322, allocations: 134.9 kB / 0.9714 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.6e-05/1.322, allocations: 10.09 kB / 0.9714 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/1.322, allocations: 9.516 kB / 0.9714 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/1.322, allocations: 15.05 kB / 0.9715 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/1.322, allocations: 3.125 kB / 0.9715 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001137/1.323, allocations: 381.7 kB / 0.9718 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.31e-07/1.323, allocations: 1.062 kB / 0.9718 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002721/1.326, allocations: 95.59 kB / 0.9719 GB, free: 6.785 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * 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.0137/1.34, allocations: 3.434 MB / 0.9753 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001221/1.341, allocations: 197.3 kB / 0.9755 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/1.341, allocations: 0 / 0.9755 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/1.341, allocations: 54.23 kB / 0.9755 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/1.342, allocations: 49.36 kB / 0.9756 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/1.354, allocations: 3.703 MB / 0.9792 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006599/1.354, allocations: 0.8104 MB / 0.98 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003043/1.355, allocations: 48.16 kB / 0.98 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/1.355, allocations: 79.19 kB / 0.9801 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of SimCode: time 1.382e-06/1.355, allocations: 1.25 kB / 0.9801 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05098/1.406, allocations: 10.84 MB / 0.9907 GB, free: 7.055 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004592/1.407, allocations: 244.4 kB / 0.9909 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.096/5.502, allocations: 0 / 0.9909 GB, free: 6.801 MB / 0.7481 GB (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1)