Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",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.001421/0.001422, 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.00156/0.00156, 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 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.2 MB / 239.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.535/2.535, allocations: 409.2 MB / 0.6838 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004894/0.0004896, allocations: 8 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8223/0.8228, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.002912/0.8258, allocations: 2.267 MB / 0.9831 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003804/0.8296, allocations: 2.593 MB / 0.9856 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.8298, allocations: 4 kB / 0.9856 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.83, allocations: 59.59 kB / 0.9857 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005156/0.8305, allocations: 226.7 kB / 0.9859 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.8317, allocations: 498.9 kB / 0.9864 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005224/0.8322, allocations: 387.1 kB / 0.9867 GB, free: 276 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.8324, allocations: 81.95 kB / 0.9868 GB, free: 192 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.8326, allocations: 171.5 kB / 0.987 GB, free: 20 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.8329, allocations: 191.2 kB / 0.9872 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.137e-05/0.8329, allocations: 20 kB / 0.9872 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006891/0.8336, allocations: 379.6 kB / 0.9875 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 7.03e-05/0.8337, allocations: 67.75 kB / 0.9876 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 7.684e-05/0.8338, allocations: 93.52 kB / 0.9877 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0006035/0.8344, allocations: 0.5204 MB / 0.9882 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.8344, allocations: 0 / 0.9882 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8344, allocations: 0 / 0.9882 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.8344, allocations: 0 / 0.9882 GB, free: 14.76 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001027/0.8355, allocations: 0.6854 MB / 0.9889 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.8355, allocations: 12.03 kB / 0.9889 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.85e-05/0.8356, allocations: 58.55 kB / 0.9889 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09308/0.9287, allocations: 10.59 MB / 0.9993 GB, free: 3.344 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002343/0.9311, allocations: 0.9197 MB / 1 GB, free: 2.383 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.9311, allocations: 20.56 kB / 1 GB, free: 2.359 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004117/0.9315, allocations: 28 kB / 1 GB, free: 2.332 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01493/0.9465, allocations: 3.562 MB / 1.004 GB, free: 14.76 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.9465, allocations: 0 / 1.004 GB, free: 14.76 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002654/0.9468, allocations: 15.94 kB / 1.004 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.9468, allocations: 4 kB / 1.004 GB, free: 14.74 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01367/0.9605, allocations: 2.805 MB / 1.006 GB, free: 11.94 MB / 0.7637 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01562/0.9762, allocations: 17.16 MB / 1.023 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01379/0.99, allocations: 2.759 MB / 1.026 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.9902, allocations: 31.98 kB / 1.026 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.9902, allocations: 34.56 kB / 1.026 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 3.998e-06/0.9902, allocations: 0 / 1.026 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22): time 0.04269/1.033, allocations: 8.271 MB / 1.034 GB, free: 12.03 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/1.033, allocations: 51.41 kB / 1.034 GB, free: 11.97 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004417/1.033, allocations: 337.7 kB / 1.034 GB, free: 11.63 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0006959/1.034, allocations: 29.7 kB / 1.034 GB, free: 11.6 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/1.034, allocations: 200.4 kB / 1.035 GB, free: 11.39 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/1.035, allocations: 74.88 kB / 1.035 GB, free: 11.32 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003263/1.035, allocations: 8 kB / 1.035 GB, free: 11.31 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.035, allocations: 342.8 kB / 1.035 GB, free: 10.97 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01931/1.055, allocations: 3.634 MB / 1.039 GB, free: 7.332 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01965/1.074, allocations: 3.677 MB / 1.042 GB, free: 3.641 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01933/1.094, allocations: 3.357 MB / 1.045 GB, free: 288 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/1.094, allocations: 0 / 1.045 GB, free: 288 kB / 0.795 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04238/1.136, allocations: 7.527 MB / 1.053 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.307e-05/1.136, allocations: 93.22 kB / 1.053 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03782/1.174, allocations: 6.838 MB / 1.06 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/1.174, allocations: 0 / 1.06 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01483/1.189, allocations: 1.701 MB / 1.061 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.191e-05/1.189, allocations: 0 / 1.061 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01354/1.203, allocations: 1.287 MB / 1.063 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/1.204, allocations: 207.5 kB / 1.063 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/1.204, allocations: 4 kB / 1.063 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04193/1.246, allocations: 7.462 MB / 1.07 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03606/1.282, allocations: 6.846 MB / 1.077 GB, free: 284 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/1.282, allocations: 3.953 kB / 1.077 GB, free: 280 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01448/1.296, allocations: 1.689 MB / 1.078 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/1.296, allocations: 0 / 1.078 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01316/1.309, allocations: 1.291 MB / 1.08 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009556/1.31, allocations: 203.5 kB / 1.08 GB, free: 13.09 MB / 0.8419 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 (37): * Single equations (assignments): 37 * 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.001441/1.312, allocations: 221.1 kB / 1.08 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004966/1.312, allocations: 35.62 kB / 1.08 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03227/1.345, allocations: 6.351 MB / 1.086 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-05/1.345, allocations: 11.89 kB / 1.086 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.345, allocations: 0 / 1.086 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/1.345, allocations: 0 / 1.086 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00597/1.351, allocations: 6.491 MB / 1.093 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02884/1.38, allocations: 5.293 MB / 1.098 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01221/1.392, allocations: 1.451 MB / 1.099 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.545e-05/1.392, allocations: 0 / 1.099 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006373/1.393, allocations: 175.5 kB / 1.099 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/1.393, allocations: 4 kB / 1.099 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.393, allocations: 4 kB / 1.099 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02861/1.421, allocations: 5.42 MB / 1.105 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/1.423, allocations: 0.5701 MB / 1.105 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000625/1.423, allocations: 4 kB / 1.105 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0108/1.434, allocations: 1.081 MB / 1.106 GB, free: 424 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/1.435, allocations: 43.84 kB / 1.106 GB, free: 380 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006812/1.435, allocations: 175.5 kB / 1.106 GB, free: 204 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003929/1.436, allocations: 235.2 kB / 1.107 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of sort global known variables: time 7.81e-07/1.436, allocations: 0 / 1.107 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.003311/1.439, allocations: 0.5934 MB / 1.107 GB, free: 15.38 MB / 0.8731 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 (34): * Single equations (assignments): 34 * 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.02957/1.469, allocations: 6.035 MB / 1.113 GB, free: 9.309 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0511/1.52, allocations: 9.663 MB / 1.123 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/1.52, allocations: 4 kB / 1.123 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.01452/1.534, allocations: 2.736 MB / 1.125 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000994/1.535, allocations: 84.22 kB / 1.125 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01595/1.551, allocations: 3.471 MB / 1.129 GB, free: 9.293 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/1.552, allocations: 0.8079 MB / 1.13 GB, free: 8.461 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.01155/1.563, allocations: 1.642 MB / 1.131 GB, free: 6.816 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002793/1.566, allocations: 0.5919 MB / 1.132 GB, free: 6.223 MB / 0.8887 GB Notification: Performance of SimCode: time 8.01e-07/1.566, allocations: 0 / 1.132 GB, free: 6.223 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1205/1.687, allocations: 82.53 MB / 1.212 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/1.687, allocations: 216.7 kB / 1.213 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.146/10.83, allocations: 3.938 kB / 1.213 GB, free: 3.363 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat does not exist to compare? outputFormat=mat