Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.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.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",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.001484/0.001483, allocations: 98.77 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.00177/0.001771, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.711/2.711, allocations: 205.4 MB / 222.1 MB, free: 5.527 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 2.794/2.794, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.000907/0.0009076, allocations: 13.97 kB / 0.6737 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5181/0.519, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.003418/0.5226, allocations: 1.485 MB / 0.7887 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001865/0.5245, allocations: 0.6989 MB / 0.7894 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.5246, allocations: 4 kB / 0.7894 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.353e-05/0.5247, allocations: 7.922 kB / 0.7894 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003624/0.5251, allocations: 51.77 kB / 0.7894 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.5254, allocations: 51.94 kB / 0.7895 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003606/0.5257, allocations: 95.8 kB / 0.7896 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.5259, allocations: 29.33 kB / 0.7896 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.5261, allocations: 43.84 kB / 0.7896 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.5263, allocations: 43.78 kB / 0.7897 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.5263, allocations: 4 kB / 0.7897 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.762e-05/0.5264, allocations: 19.98 kB / 0.7897 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.676e-05/0.5265, allocations: 11.92 kB / 0.7897 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.185e-05/0.5265, allocations: 45.64 kB / 0.7898 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.5268, allocations: 88.05 kB / 0.7898 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5268, allocations: 0 / 0.7898 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.445e-06/0.5268, allocations: 0 / 0.7898 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.5268, allocations: 0 / 0.7898 GB, free: 9.191 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008147/0.5276, allocations: 402.9 kB / 0.7902 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.23e-05/0.5277, allocations: 8.031 kB / 0.7902 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.96e-05/0.5278, allocations: 42.56 kB / 0.7903 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.5278, allocations: 7.906 kB / 0.7903 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.5281, allocations: 198.8 kB / 0.7905 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.5282, allocations: 7.938 kB / 0.7905 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.5282, allocations: 8 kB / 0.7905 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.5285, allocations: 89.66 kB / 0.7906 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.5286, allocations: 3.984 kB / 0.7906 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.5286, allocations: 7.938 kB / 0.7906 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.5286, allocations: 8 kB / 0.7906 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003045/0.5289, allocations: 67.95 kB / 0.7907 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000729/0.5297, allocations: 380.5 kB / 0.791 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.53, allocations: 66.53 kB / 0.7911 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.53, allocations: 0 / 0.7911 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.5301, allocations: 34.64 kB / 0.7911 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.5301, allocations: 4 kB / 0.7911 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005502/0.5307, allocations: 105.5 kB / 0.7912 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.5307, allocations: 59.41 kB / 0.7913 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.531, allocations: 154.4 kB / 0.7914 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.531, allocations: 25.7 kB / 0.7914 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.703e-05/0.5311, allocations: 108 kB / 0.7916 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.5311, allocations: 11.81 kB / 0.7916 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.5311, allocations: 3.938 kB / 0.7916 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.5313, allocations: 318.8 kB / 0.7919 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.5314, allocations: 27.98 kB / 0.7919 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.5316, allocations: 23.98 kB / 0.7919 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.5317, allocations: 27.97 kB / 0.7919 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.5317, allocations: 7.953 kB / 0.792 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003306/0.5321, allocations: 93.56 kB / 0.792 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.358e-05/0.5322, allocations: 89 kB / 0.7921 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.5322, allocations: 0 / 0.7921 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.5322, allocations: 0 / 0.7921 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.5323, allocations: 19.98 kB / 0.7921 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.5324, allocations: 0 / 0.7921 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.5325, allocations: 11.94 kB / 0.7922 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.5325, allocations: 3.984 kB / 0.7922 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.5325, allocations: 7.938 kB / 0.7922 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002545/0.5328, allocations: 59.97 kB / 0.7922 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.5328, allocations: 3.953 kB / 0.7922 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.76e-06/0.5328, allocations: 3.984 kB / 0.7922 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.046e-05/0.5329, allocations: 12 kB / 0.7922 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-06/0.5329, allocations: 0 / 0.7922 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.46e-05/0.533, allocations: 15.89 kB / 0.7923 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.533, allocations: 4 kB / 0.7923 GB, free: 6.477 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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.000163/0.5332, allocations: 189.1 kB / 0.7924 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.5332, allocations: 7.906 kB / 0.7925 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.5336, allocations: 101.8 kB / 0.7926 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.5336, allocations: 4 kB / 0.7926 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.5336, allocations: 0 / 0.7926 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.5337, allocations: 0 / 0.7926 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/0.534, allocations: 189.6 kB / 0.7927 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.534, allocations: 4 kB / 0.7927 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.841e-05/0.5341, allocations: 11.98 kB / 0.7928 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.5341, allocations: 432 / 0.7928 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.5342, allocations: 3.938 kB / 0.7928 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.111e-05/0.5342, allocations: 7.953 kB / 0.7928 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5342, allocations: 0 / 0.7928 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000388/0.5346, allocations: 191.3 kB / 0.7929 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.5347, allocations: 93 kB / 0.793 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.5348, allocations: 0 / 0.793 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.5349, allocations: 15.98 kB / 0.793 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.535, allocations: 3.953 kB / 0.7931 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.535, allocations: 0 / 0.7931 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001513/0.5352, allocations: 121.7 kB / 0.7932 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5352, allocations: 0 / 0.7932 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005588/0.5358, allocations: 39.84 kB / 0.7932 GB, free: 5.406 MB / 0.6075 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 (3): * Single equations (assignments): 3 * 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.0009657/0.5367, allocations: 0.7163 MB / 0.7939 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005298/0.5373, allocations: 91.88 kB / 0.794 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.5373, allocations: 0 / 0.794 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.5375, allocations: 27.98 kB / 0.794 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005143/0.538, allocations: 34.3 kB / 0.7941 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.5399, allocations: 0.6762 MB / 0.7947 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.5404, allocations: 0.7004 MB / 0.7954 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.389e-05/0.5405, allocations: 4.438 kB / 0.7954 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.941e-05/0.5405, allocations: 31.42 kB / 0.7954 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of SimCode: time 6.81e-07/0.5406, allocations: 0 / 0.7954 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.146/4.687, allocations: 2.327 MB / 0.7977 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003391/4.687, allocations: 202.4 kB / 0.7979 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.939/7.626, allocations: 4 kB / 0.7979 GB, free: 0.6641 MB / 0.6075 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1) Environment - environmentSimulation: